NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure elapsed time between two steps?

Solved!
Go to solution

Hello,

In my sequence i call some subsequences. How can i measure the time that each subsequence needs?

Something like:

Statement: StationGlobals.TimeElapsed = 0

-> SOMETHING HERE TO START A COUNTER <-

call subsequence

Popup: Str(TimeElapsed)

 

Thanks for help

0 Kudos
Message 1 of 2
(5,287 Views)
Solution
Accepted by topic author OnlyOne

StationGlobals.Time = Seconds()

 

.... // stuff to time

 

StationGlobals.Time = Seconds() - StationGlobals.Time

 

 

 

You might also want to check out the Basic Step Time Report example in TestStand 2012 (you can now download an eval).

Message 2 of 2
(5,283 Views)