NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Message Popup Timeout

Does anyone know how to configure the Message Popup "canned" step to have a timeout determined by a local variable? I know you can set the timeout amount in the options, but it's limited to numbers and not variables.  I'm curious if there's a better way than making loop. Thanks.
-G-
-G-
0 Kudos
Message 1 of 5
(5,648 Views)
All you have to do is in a pre-expression statement set Step.TimeToWait = Locals.variablename.
Message 2 of 5
(5,647 Views)
Exactly what I needed. Thanks.
-G-
0 Kudos
Message 3 of 5
(5,643 Views)

I am using TestStand 4.2, and this does not work for me.  The pre-expression statement Step.TimeToWait = <variable> is ignored and the time to wait is always the default value.

 

I ended up having to put a statement step before the message popup step with the statement RunState.NextStep.TimeToWait = Locals.variablename.

 

0 Kudos
Message 4 of 5
(5,281 Views)

I just tried this in TestStand 4.1 and it (usning the pre-expression) works.  The key is that the "Timeout Button" must be set to a visible button number and not to None or a button with no text assigned.

 

[Wow, the TS version selector takes a while to run...]

 

Also works in TS 4.2.

 

 

 

 

 

 

0 Kudos
Message 5 of 5
(5,258 Views)