NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Global UI Control References

In the TestStand (4.0) Full UI -Top-Level VI, I've customized the OI so as to add a few buttons/controls.  I noticed, however, that all the buttons/labels were Controls, and none were indicators.  If I wanted to use an indicator, how would I change the global reference shown in the attachment?
0 Kudos
Message 1 of 3
(3,594 Views)

mrbean,

If you would like to create an indicator from global variable using TestStand buttons:
1.  Place a Global Variable on the block diagram
2.  Double click on the Global Variable
3.  Right Click on the front panel of the Global Variable
- Select TestStand Button
4.  Save the Global Variable
5.  Right click on the Global Variable on the original block diagram
- Click on Select Item>> TestStand UI Button Control
6.  Right click on the Global Variable change to Read
7.  Wire desired indicator to the read of the Global Variable

 

A_Ryan
AES
National Instruments
0 Kudos
Message 2 of 3
(3,543 Views)

mrbean -
The key issue is that you should create a "read" local variable for the terminal by:

  • Right-clicking on the terminal for the indicator on the diagram and select Create>>Local Variable.
  • Right-clicking on the new local variable and select Change to Read.
  • Wire the local variable to the global that you create for the reference.
Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(3,511 Views)