12-19-2017 07:12 AM
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
12-22-2017 03:49 AM
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