NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

message popup timeout - time left

Can we get from the sequence context the time left (or time elapsed) of a timeout enabled message popup.
For example,
If the message popup is set to timeout after 120 sec and the operator responded when there are 50sec left for the step to timeout,
does any built-in variable have the value 50 (seconds left) or 70 (seconds elapsed)?
 
I know there are workarounds like calling Seconds() function in pre- and post-expressions and taking the difference but I wonder if it is already implemented or not.
Thanks.
S. Eren BALCI
IMESTEK
0 Kudos
Message 1 of 2
(3,356 Views)
This information is not stored in the step properties.  It is possible to change the step type to get this information.  The source code for MessagePopup is included with TestStand at <TestStand>/Components/NI/StepTypes/MsgBox/ if you have Labwindows/CVI.

Your suggestion of using Seconds() is much easier to implement and be accurate enough for your use cases.

Allen P.
NI


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