NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand operator interface adding indicators/gauges

Adding indicators/gauges to TS operator interface.
In the article Modifying the LabVIEW run-time operator interface for TS, there are "Adding custom buttons", "Adding Custom menu Items" but nothing about adding indicators. Is there a reason for this?
In my project, I have ten pressure sensors. For each step in my sequence, I would like to display a pressure gauge, and monitor the leak rate for sixty seconds and also I have two major pressure tanks.
If I place gauges on the TS operator interface, how does it get the value from my VI?
How do I initialize the gauge for each step in the sequence?
How do I remove or change color of the gauge to reflect pressure versus vacuum?
What should I do at the end of each step?
A
re the gauges consider as global variables? Is this the best technique to do as global variables?
0 Kudos
Message 1 of 3
(3,477 Views)
My recomenation would be to leave the run-time operator interface alone and make indicators appear in the test sequence. I treat the run-time interface as something generic - capable of running many different test sequences just like the TestStand development api. You can certainly make your VI show its front panel when called and put the indicators and gauges there. I would think about the work involved with having a custom run-time for every sequence you might create.
0 Kudos
Message 2 of 3
(3,477 Views)
Hi,

Have a look at this example.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E16556A4E034080020E74861&p_node=DZ52218&p_source=external
It uses the Simple TestStand Operator Interface Example as its base so you can get that from here
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DDEB56A4E034080020E74861&p_node=DZ52205&p_source=external

Its uses the UIMsg_UserMessageBase Event to pass data to the OI but this is limited to a number or a string. Therefore if your data is a bit more envolved then you could store it in StationGlobals and have the OI pick it up from there.

Hope this gets you started.
Regards
Ray Farmer
Regards
Ray Farmer
Message 3 of 3
(3,480 Views)