NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel execution

Hello,
I'm newbie to TestStand.I'm try to customize parallel model.
My problem is:
Periodically, I need to get user's
confirmation by pressing some button on my GUI and after that continue
sequence execution.What is the way to do this?
Thanks
0 Kudos
Message 1 of 3
(3,230 Views)
It depends on what you are trying to prompt the user to do.
However, the simplist way is to use the the "Message Popup" Step type. It pops up a dialog box, which can be customised, (eg multiple buttons, text box....)

Example
If thats not what your trying to achieve then how about using a section of code to in TestStand which loops say once a second and sends a UI_Msg (say 10000), from a loop. This UI message sends the sequence context its in (which includes a true/false flag "Locals.FinishedLooping").

You handle this UI_Msg like any other UI message. Whenever a your button is pressed on the UI it feeds its value into the "Locals.FinishedLooping" Variable in TS. When true it finishes the loop in TS and contines on..... and effectively the loop checks the UI every 1second to see if if it should end or continue.

This is only one way of doing it..... And it may not be the best way..
0 Kudos
Message 2 of 3
(3,222 Views)
Many thanks!
0 Kudos
Message 3 of 3
(3,218 Views)