NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass global data to IVI Tools SetAttribute

I'm trying to pass a Global string via the IVITools set/Get/Check option. I can specifiy the ATTRIBUTE as being global but when I enter a global for the value, it doesn't take.

I can manually type in a string for the value and it takes OK. How can I use a global reference?

rjmiller
0 Kudos
Message 1 of 2
(2,928 Views)
To RJMiller -
Are you using TestStand 2.0, 2.0.1 or 3.0?

I am not sure what you mean. I assume that you are attempting to configure a step using the Edit IVI Tools Step dialog box. When you add an attribute to the list control by clicking on the Add button, the item in the list is available and the controls under the Attribute section of the dialog box are now enabled. You can use an expression for the Attribute, Channel Name, and Value controls.

I assume that if you say you try to pass a "Global string" you mean that you are trying to use an expression like, "StationGlobals.MyGlobalValue". Can you be more specific as to what you mean when you say that "it doesn't take"?

I do not seem to have any problems entering expressions in these controls.

S
cott Richardson
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,928 Views)