NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS3, how sequence return values?

hello everyody
when a sequnced is called, it can receive values via "parameters"
how does it reurns values to the caller? via "station globals" ?

thanks in advance
Simon.I
0 Kudos
Message 1 of 2
(2,607 Views)
Hi,

You can setup a variable in the parameter list to be either 'pass by value' or 'pass by reference'.

'Pass by reference' is the setting you want(see reference manual Chapter 5, Sequence Adapter (TS3.0)).

By default when you insert a variable in the parameter list it is set to pass by reference. With the variable selected, right mouse click and you will see a pop up menu item that will allow you to change this setting.

The variable you specify in the Sequence Call will receive the value back from the variable from within the Sequence Call parameter when it returns to the caller, if this value has been set to Pass by Reference.

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,604 Views)