NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Simple User Interface

I would like to know how to add a simple LED indicator in the TestStand Labview Simple User Interface that would display the Sequence Status( PASSED or FAILED ) ?
I'm using TestStand 3.1.

Thanks a lot

Olivier
0 Kudos
Message 1 of 3
(3,332 Views)
Hi Olivier,
There are several ways to implement this.

The quick and easy method would be to read the ItemText from the Executions ComboBox control. Then scan it to see if it contains "Passed".
(see attached VI)

An alternative is to setup a TestStand UI Label Control, Using the ExecutionViewManager you can set a CaptionSource to the UUTStatus. This will then contain the UUTStatus of the currently selected execution. This is similar to above except the string will only contain the UUTStatus string, not all of the details in the execution string.

However a "more complete" method would be to setup a Callback VI for UIMessages, when the UIMsg_ModelState_TestingComplete is recieved, the UUT status can be retrived. (Refer to the TestStand Help file)
The callback (assuming it has a reference to the LED) can then set the value of it.
This method is prefered over the above 2 because you do not need to poll the TestStand controls to get the status information. When the TestingComplete event occurs, TestStand will execute the Callback VI.

I hope this helps.



Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer

measX GmbH & Co. KG.
http://www.measx.com
Message 2 of 3
(3,313 Views)
Thanks Simon,
but may you detail me more the third solution because the first one is not working and the second one can permit to refresh only
a TestStand Label Control ( and not a boolean display ).

Do you have an example of the third solution ?

Thanks a lot

Olivier
0 Kudos
Message 3 of 3
(3,277 Views)