From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

Showing results for 
Search instead for 
Did you mean: 

what are the various ways of assigning the results of a vi in teststand to a global variable?

So what are the different methods for passing the results of a sequence calling a vi to a station global which will then then pass that value to subsequent sequences?

0 Kudos
Message 1 of 2

Global scope can be achieved in many ways: station globals, file globals, engine temp globals, execution runtime variables, local variable propagation, some tricks with process model, perhaps some tricks with synchronization manager. Each of the above-mentioned methods has some limitations and not all of them can be said to be "true global".


Anyway, if you want to output your results from a VI, l would suggest to use sequence context as an input and use it with one of the mentioned options. If you really don't want to pass context as an input you can use Automation Open LabVIEW primitive or TestStand Manager Controls to access e.g. engine globals or synchronization manager and read/write your globals.

Michał Bieńkowski

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 2 of 2