09-02-2014 11:29 AM
I have created a sequence of our original one used in production.
We are seeing negative return values for delay_mS variable.
I don't understand how that would be possible.
Can anyone help me resolve this issue.
The problem occurs on both win7 32b and 64b machine.
thanks for the help,
arjen
09-02-2014 01:20 PM
Is your machine perhaps going into sleep, suspend, or hibernate while this is running? If so, can you try disabling it and see if the problem goes away. Also, what version of TestStand are you using?
-Doug
09-02-2014 02:16 PM
the machine is not going into sleep/hibernate. We are using TS2013
09-03-2014 05:35 PM
I'm having trouble reproducing this. How easily does it reproduce on your machine? Internally teststand uses the WIN32 API QueryPerformanceCounter, this API sometimes misbehaves on certain machines. See this forum thread for a similar problem that can occur when this happens and a possible way to workaround it:
http://forums.ni.com/t5/NI-TestStand/Wrong-Wait-step-execution-time/m-p/860397
-Doug