NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Global/local variable from teststand and update in Labview

Hi,

I am using Teststand simple user interface . I have to update a string indicator on the front panel by reading station global variable. This variable will be updated in client/application sequence file. which location  I can write this part of code in simple user interface(Asking inside which state of the state machine in  simple user interface code) that will help me to update string indicator.

 

Regards,

Anand

0 Kudos
Message 1 of 2
(2,972 Views)

Hi Anand

You could pass a UI Message from your running sequence to the User Interface,  here is a good starting point for learning about UI Messages, the link has an attached PDF that is useful.  I would advocate using UI Messages for your requirement as that is what they are for.

Alternatively; you can read the state of StationGlobals from the User Interface using the TestStand API.  From the ApplicationManager you can get a reference to the TestStand Engine, from there you can get a reference to the Station Globals, and from there you can read from (and write to) individual Station Globals by name.

Steve

Message 2 of 2
(2,936 Views)