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?
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.
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!
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.
To send the UI message, create a step with the ActiveX/COM adapter.
There's some more detail on this page: