> Is it possible to achieve elapsed time resolution of less than 1 ms in
> LabVIEW 7 Express?

The OS resolution for putting threads to sleep is currently 1 ms, and 
the accuracy of when the threads varies between the versions and setup. 
  The thread timing will be pretty good in the general case, but can 
have big lags when the user is moving the window or 
minimizing/maximizing things.

For smaller delays, you might want to do a busy loop.  Make an empty for 
loop that runs for several million iterations.  Build an initialization 
phase that lets you tune it to your computer, and it should be pretty 
reliable.  But keep in mind that this will delay by consuming the CPU 
for a period of time, not by releasing it to the OS, so the more this 
delay is used, the higher the CPU usage will go.

Greg McKaskle


Reply via email to