NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get time during the execution

Hi
I want to make a test for 24 hours with a loop and
abort after 24 hours. Where can I get the runtime
since beginn?
Thanks Torsten
0 Kudos
Message 1 of 2
(3,110 Views)
The expression functions seconds(), time() and date(), give time references relative to either universal coordinate time or the base time at which the TestStand engine was initialized. See the description for these functions and their parameters to determine how they can meet your needs.

If you are not looking to reference the time the TS engine was intialized, you may need to get the time your testing begins in order to determine you test time. You could do this in your process model, storing the time reference in a local variable. Remember that in general you should disable result collection for steps you add to the process mdoel.
0 Kudos
Message 2 of 2
(3,110 Views)