NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

pop-up message 'OK' button

Hi guys,

 

Can I link the 'OK' button to another event then a 'button click' like a boolean variable. I want the dialog to dissapear and go to the next step when a boolean variable get 'true' state.

0 Kudos
Message 1 of 8
(5,326 Views)

Hi,

 

You can use the Post Actions of the MessagePopUp Step and use the 'Use Custom Condition' with something like Step.Result.ButtonHit == 1 which will be TRUE for the first button of the MessagePopUp.

 

Set the 'On Condition True' to one of the drop down items, eg Goto Step and then select the Require Step. Also set the 'On Condition False' for the required action.

 

Hope this helps

 

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 8
(5,315 Views)

Actually, I want a Popup message without buttons. And when a certain condition get 'true' state, then the Popup go away. Like a Popup placed in a "While", but then without buttons.

0 Kudos
Message 3 of 8
(5,264 Views)

Hi,

 

With current MessagePopUp you will not beable the have this with no buttons. Therefore you would have to do your own in a code module.

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 8
(5,259 Views)

Is it possible to set the 'OK' button alwayz 'true' even it has no Buttonhit event?

0 Kudos
Message 5 of 8
(5,242 Views)

No, but you can set it so that after a timeout the dialog will close.

 

Regards
Ray Farmer
0 Kudos
Message 6 of 8
(5,239 Views)

Tnx Ray, how to set up the TimeOut?

0 Kudos
Message 7 of 8
(5,234 Views)

I haven't got sight of the MessagePopUp at the moment, but I think the Timeout control is on the same screen as the other buttons. You just have to enter a value which is in seconds eg enter 10 and this will remove the MessagePopup after 10 seconds which the Active Button activates.  Check the TestSTand Help for more information on the MessagePopup Tabs

 

Regards
Ray Farmer
0 Kudos
Message 8 of 8
(5,226 Views)