NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand user interface

Highlighted

I am working on building a TestStand user interface created in LabVIEW (I am working off of the simple ui as a template). Is there a way for me to show some of the report findings as an indicator in the ui? For example, show the time and duration of the test or the serial number?

 

Also, is there a way to debug from a TestStand user interface or does that have to be done in the sequence editor?

 

Thank you!

0 Kudos
Message 1 of 7
(377 Views)
Highlighted

There are more debugging capabilities in the Full UI rather than the simple, but for me, I'm always debugging in Sequence Editor.

 

In my own UI, I start displaying the serial number after it's scanned in PreUUT.  I pass the serial number to the UI via UI messages.  

 

For showing the report, I make a VI that can display the report and then display that within my subpanel.  

 

(Some basics are here.)

 

This happens to be what I do.  If you have a something specific you are trying to do, I can try to help you with that too.

0 Kudos
Message 2 of 7
(326 Views)
Highlighted

Thank you for your help! Specifically, I want to display the start and end times of each time the sequence runs.

0 Kudos
Message 3 of 7
(310 Views)
Highlighted

I am trying to follow the instructions on this slide, but I am getting broken wires because the UserMessage Event does not exist as an option in the Bundle by NAme. I assume this means that I have to create the UserMessage Event in the type def for ui data as well as an event reg refnum for this event, but I am not sure how to do so. Any tips would be appreciated!

 

audreg_0-1595874325929.png

 

0 Kudos
Message 4 of 7
(305 Views)
Highlighted

Update: I was able to fix the errors I was having with the unbundle by name. I believe I completed everything that needs to be done in LabVIEW, but for some reason the call back vi is never ran. I am guessing that this means that the message is not being received from teststand correctly.

 

What is the TestStand step called that I should be adding for UI Messages? I could not find the step so I used a statement with the expression, "RunState.Thread.PostUIMessageEx(UIMsg_UserMessageBase+1, 0, "", Nothing, True)" but it is not functioning correctly. 

0 Kudos
Message 5 of 7
(295 Views)
Highlighted

To send the UI message, create a step with the ActiveX/COM adapter.

 

There's some more detail on this page:

http://www.ni.com/tutorial/4532/en/

 

0 Kudos
Message 6 of 7
(265 Views)
Highlighted
0 Kudos
Message 7 of 7
(232 Views)