LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

micro second Wait

Is there anyway to use micro second waits? For example can I Put in the value for the "wait(ms)" as a real number (e.g. 1.53) without it rounding the value. With a 1ms wait the loop runs at 1000hz, if I Burst it, it runs at 37Khz and I need it to run at 10Khz.
0 Kudos
Message 1 of 3
(2,515 Views)
As far as I know, in Windows is not possible. I remember that there is a 1 ms theoretical limit (even with tha highest priority). For normal applications it's even higher(around 55.5 ms ... I can search for exact values if you want). Even if it will be possible you can not be sure of it in case that other applications are running. Try to fin out the specifications for Real Time LV or use a Counter/Timer board to do that.

good luck
0 Kudos
Message 2 of 3
(2,515 Views)
I check the values and:
- for windows 3.x the minimum timer interrupt is 55 ms
- for windows 9.x/NT minimum timer interrupt is 1 ms

even if you can set timer interrupt shorter PAY ATTENTION that other interrupt intensive operations may be in CONFLICT with this setting (specially those using I/O instead of DMA ).
0 Kudos
Message 3 of 3
(2,515 Views)