From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Duration of Execution Time

Hey,

First of all, I need to tell you that I am new user of TestStand and have no experiences with it.

 

The problem I have should be quite easy to solve but I do not really no how 😉

 

I created a TestStand-Sequence with around 200 steps. Now I want to measure the time the sequence needs between step 100 and step 150.

What is the easiest way to do / programm this? Does every Step has an TimeStamp with the actual Execution time so I could calculate the time differenz between the two steps?

 

I hope you can help me!

Greets
Walter 

0 Kudos
Message 1 of 2
(3,374 Views)

HI

Easiest way to do is using Seconds function which gives current time in seconds.

Use Seconds() function before 100th step so that it will give you the start time of that step and store it in local variable say X

At end of 150 /200th step use expression Duration = Seconds()  - X.

It will give you the time it requires to execute 50 steps.

0 Kudos
Message 2 of 2
(3,368 Views)