NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass parameters to teststand using LV

Hi Paul,

Good morning...

I have similar problem where in I have a "stop button" in my LabVIEW OI. This button will fire an event to stop the teststand sequence execution by changing the Parameters.ContinueTesting value into "false". I already implemented 2 solutions but it seems to me that they were not the best solution:

 

Solution#1

When I fire the stop button event in OI, I disable the button and in my test sequence I have  PostUIMessageEx to get the status of "stop button" of my OI, if this is disable, I then I change the Parameters.ContinueTesting boolean to "false" and then that's when I stop my test sequence.

 

Solution#2

When I fire the stop button event in OI, I have this StationGlobal boolean variable and change it to "false" and put this value to  Parameters.ContinueTesting that will eventually stop my test sequence.

 

In your solution, how did you implement this event in your test sequence?  Could you please give me an example test sequence.

 

Thanks...

ruel

0 Kudos
Message 21 of 21
(838 Views)