NI TestStand

cancel
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
(235 Views)

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
CLA, CTA

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
(146 Views)