LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing variables from Teststand to the OI

I have an upper level GUI in LV7.1 that displays buttons that call the Simple OI ( TS 3.0 Windows XP)based on what button the User pushed. I would like to display a PASSED or FAILED in the upper level GUI based on the seq called in the OI. Basically, what variable is available in the OI that indicates the Seq passed or failed that I can show in LV7.1 ?
0 Kudos
Message 1 of 2
(2,469 Views)
Hey Clint,

You can determine whether an execution passed or failed by using one of the methods of the execution manager. I'm attaching a modified version of the Simple OI. I've included a button on the front panel. I've added a case in the event structure that displays a message box displaying the current state of the execution when the button is clicked. One thing to notice is that once the execution is closed the message box displays nothing. This is because there is no current execution to determine the status of. So, you will need to retrieve the status of the execution before you close it.

I hope this helps!!

Regards,

Sarah Miracle
National Instruments
0 Kudos
Message 2 of 2
(2,469 Views)