NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a timer?

Solved!
Go to solution

Hello,

is there something in teststand to measure the time between two steps?

So that en testplan looks like this

 

Mainsequence:

step: "Timer start"

step: execute a teststep

step: execute a teststep

step: execute a teststep

step: execute a teststep

step: "Time elapsed" (<-- returns time since the "timer start"

is there already something in TS or do i have to create new steps in LV to do this?

 

Thanks

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

Attached is an example.  Just use a local variable and set it equal to Seconds() (you can read about that function in the help). 

 

OR

 

If you need to watch the timer then you can spawn a new thread by calling a sequence with a VI that pops up and shows the timer.

 

Good Luck!

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(5,245 Views)