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 ------------------------------------------------------------------------------ Download Intel® 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user