LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why the time differece between a timed loop will always be 32ms even I have set the period to be 10ms??

The timing is guaranteed only if:
- you're running a real-time operating system (Windows definitely is not)
- the code into the loop can be executed within the specified time
It seems that your computer has a slow access to the HD. How much RAM? (XP pro?).
Still, I would expect some more jitter about this magic number 32.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 11 of 14
(733 Views)
can you repeat your test without writing to file?
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 12 of 14
(729 Views)

I too get 10ms steps.

Try setting the step to say 50ms. Do you get 50ms or is it still 32ms!! ?

Rgds,

Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 13 of 14
(717 Views)

If you are curious about your hard drive write speed, try this website.

http://www.hdtune.com/

I found this program while I was installing solid state hard drives on 40 computers at work this week. Don't ask why I had to find it.Smiley Tongue

Message 14 of 14
(715 Views)