NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

deal with teststand message popup

when I add a message popup in my sequence,I need two button: Ok(button1) and Cancel(Button2).and set timeout.

My question is like this; I need get the status when execute,if uesr click ok,the sequence should go to next step,the other stauts,the sequence should abort executing.

example:

Message Popup

if(RunState.Sequence.Main["Message Popup"].Button1Label=="OK")

   call sequence   //this action need execute when click "OK"

else

   break        //this is a action ,without any connection of message popup

end

but no matter what button I click ,the sequence always execute break,that's means the if condition can't get the status of message,where is my error.

any one help me ,thanks very much

 

0 Kudos
Message 1 of 2
(2,553 Views)

duplicate post see the following link

http://forums.ni.com/ni/board/message?board.id=330&message.id=21602&jump=true

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,549 Views)