LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

quick timer

Hi, I have to generate an event very frequently, about 1ms. Is there a way to do it with a good resolution ?
Thank you !
0 Kudos
Message 1 of 3
(3,222 Views)
1 ms is a very short time for windows to take care of it. This is the minimum resolution a standard timer can achieve, so it's difficult that the OS can honour it regularly. You may want to test with asyncronous timer, which are based on multimedia timers and executed in a separate thread from the rest of the application and so have a higher level of priority in the system, nevertheless even in this case you may not be able to respect this pace due to hardware limits.
 
The optimum would be to use a counter in a daq device to fire your event every 1 ms, but this implies the the presence of an acquisition board in your system.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,208 Views)

I will try with async timer.

Thanks !!

(Grazie, ciao ;))

0 Kudos
Message 3 of 3
(3,206 Views)