NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Testand utilization time

I need to know how much time at a day the operators used my testand jobs. I mean run my testand sequences.
Does anybody have an idea?
Ofer
0 Kudos
Message 1 of 3
(2,997 Views)

Hello Ofer,

This is a good question.  I want to first point out that the standard HTML report records the amount of time each test takes to complete when reporting is enabled in the standard process models (Sequential, Batch, and Parallel).  If you are looking for extended functionality, I would recommend creating a step at the beginning of your sequences that records the start time and a step at the end of your sequences that records the stop time.  You could store these two times in local variables and then take their difference.  You could then add this time to a cumulative time variable that you store in StationGlobals or a file.

To get the time within TestStand, you can call Time() and Date().  For a great example of how to use these function, refer to the “Get Start Time” step in the “Test UUTs” sequence in the SequentialModel.seq process model.  Also the expression browser dialog box gives a detailed description of how to use these function.  You can find the Time() function in the express browser dialog box under the Operators/Function Tab » Functions » Time

Best Regards,
Software Engineer
Jett R
0 Kudos
Message 2 of 3
(2,973 Views)
Thanks for your answer. All my steps are recorded at a database. I think I'll use the database.
Ofer
0 Kudos
Message 3 of 3
(2,970 Views)