NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pause TestStand execution time collection?

Hello all!

I have an application, where there are very typical needs for user input via popup windows (NOTE: both LabVIEW VI popup and TestStand Message Popup step type). I'd like to measure the "true" execution time without distorting wait times coming from user interactions.

How to pause the execution time collection during interactive popups? Unchecking record results seem not to help and results actually are needed to be recorded.

Thanks beforehand!


0 Kudos
Message 1 of 3
(3,356 Views)

points,

If you want to get the execution time without including user interaction time you could substract the user interaction steps time from the total execution time.
I am including an example that uses the ModifyReportHeader callback to obtain the execution time without popup steps. I include this time in the report header of the text and html reports.
I have to clarify that the step time is going to include the total time it takes to a step to execute, not only the time the operator takes to interact with an specific dialog (panel).
If you want to obtain the real user interaction time you could create your own custom message box step which would return the real interaction time as an output parameter.You would calculate the interaction time subtracting the time when the dialog was launched from the time when the dialog is closed.
To learn more about step execution read:    TestStand Reference Manual - chapter 3.

Hope it Helps.
I used TS 3.5 to create the attached sequence file.

Antonio Lie.

Message Edited by Antonio Lie (NI) on 10-24-2006 10:48 AM

Message 2 of 3
(3,317 Views)
Hello Antonio!

This was exactly what I wanted. In this particular application, the total time of a dialog step is ok. The operator interaction time is typically relatively much longer than the other time components of step execution, making these shorter components irrelevant.

Thanks a lot!


0 Kudos
Message 3 of 3
(3,277 Views)