NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

precise time of wait function

Hi everyone,

 

I want to use a wait function in a program of TS between 2 steps with a precision of 1ms. 

Wait function gives me each time diffrent time. For example I set it 2 seconds but it is not precise. the time taht I measure using Second function are 2.03, 2.06 , ...

It means I have a deviation each time in a range of 300 - 500 ms. 

Is there any solution to make a presice time in TS?

 

Thank you so much for your help.

0 Kudos
Message 1 of 3
(599 Views)

You can never expect high timing precision on Windows. Windows is a general-purpose operating system. Any other program or background process will compete for the CPU resource and impact the timing precision.

Try to close all programs and run only TestStand.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 3
(577 Views)

Okay. Thank you @ZYOng for your reply. 

0 Kudos
Message 3 of 3
(560 Views)