NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass several property types between TS and CVI code modules.

I want to pass variables (strings and numbers) such as lowlimit,highlimit,
TestTitle, measurement, and array_index from the multipleNumericlimit
test(on the TestStand side of the application) to associated variables
on a CVI code module. Is there a way to store those strings/numbers
and then easily pass them back and forth from the CVI side? I have
tried several functions in TS_Propertyfamily and have only been able to pass measurement values. Is there some example code I can look at?
0 Kudos
Message 1 of 2
(3,235 Views)
To pass data between CVI and TestStand, you must use the TS_PropertyVal(datatype) methods. You will need to have a variable defined in TestStand, either local or global that you will write/read values to/from CVI using a lookup string. Inside of the \Examples folder there are many different examples that you can look at. In particular, have a look at the example \Examples\AccessingPropertiesAndVariables\UsingCVI StandardPrototype. This should clarify how to pass data between CVI and TestStand."
0 Kudos
Message 2 of 2
(3,235 Views)