On 19/04/10 04:17, Zelimir Ikovic wrote:
> I wanted to know how predictable and reliable GAMBAS is when a reaction to 
> real-world events is required. 
>
> Let say that Java RealTimeSystem is intended only for suitable  operating 
> systems, which means that only a 
> real-time operating system, such as QNX, is appropriate for implementing the 
> JVM.
> So that means it depends on underlynig OS version ...
>  
>  Simply installing an RTS extension 
>  and renaming java.lang.Thread instances to 
>  javax.realtime.RealtimeThread will not turn the 
>  application into a real-time app.
>  
>  I just wanted to know what is Gamas reaction to real world compared under 
> different underlyng OS.
>  FreeBSD, OpenBSD and Linux are not he same.
>  
>
> --- On Sun, 4/18/10, Les Hardy <[email protected]> wrote:
>
>   
>> From: Les Hardy <[email protected]>
>> Subject: Re: [Gambas-user] Did anybody try to run stepper motors through 
>> paralel port
>> To: "mailing list for gambas users" <[email protected]>
>> Received: Sunday, April 18, 2010, 12:27 PM
>> Doriano Blengino wrote:
>>     
>>> Les Hardy ha scritto:
>>>    
>>>       
>>>> Zelimir Ikovic wrote:
>>>>    
>>>>      
>>>>         
>>>>> I have VB6 program that run CNC plasma
>>>>>           
>> machine. It work very well and smooth under win200, but in
>> WinXP machine motion is not good. 
>>     
>>>>> It doesnot help if I set REALTIME prority for
>>>>>           
>> the process ...
>>     
>>>>> How about Linux and Gambas? Daes it depent on
>>>>>           
>> version of Linux ...
>>     
>>>>> What is resolution for Gambas Timer? Can I
>>>>>           
>> wait 10 microsec do something wait 10 microsec and so on
>> ...
>>     
>>>>> Regards
>>>>>      
>>>>>        
>>>>>           
>>> Uhm... under linux, no matter what version, you can
>>>       
>> use the parallel 
>>     
>>> port and high resolution timers, but... 10 us? What is
>>>       
>> the speed of your 
>>     
>>> motor(s)?
>>> Anyway, I see it difficult to do it in gambas, mainly
>>>       
>> because of tight 
>>     
>>> GUI integration and impossibility to use interrupts;
>>>       
>> the best way would 
>>     
>>> be to separate hi-level logic from lo-level timing,
>>>       
>> perhaps through a 
>>     
>>> library written in C.
>>>
>>>    
>>>       
>> Yes, I agree. I did a lot of work with parallel ports in
>> the past, but I 
>> would not attempt a serious application for that job in
>> Gambas.
>>
>> Since I retired, I have been building my own hobby CNC
>> machines, but I 
>> just use EMC2. It is GPL, and very efficient, so I figured
>> I had no need 
>> to write my own app.
>>
>> Les Hardy
>>
>>
>>
>>     
I have used Gambas for on-screen scrolling of large screens with a 3ms
tick rate and it was pleasing to the eye (meaning no discernible
jitter). The minimum time resolution - as I understand it - is 1 ms at
present. You can of course calibrate your own timing loops if your
application is the only job the computer has to do.

Regards
Werner Dahn


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to