ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa

 

Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the

 

VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),

Channel1: Number and

Channel2: Number

 

I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.

 

I would like to know how to get the values of this custom data type to LabVIEW?

 

 

Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2

 

how do i need to set this cluster to the Custom Data type variable in TestStand?

 

Thanks and Regards

Prakash 

 

 

 

 

0 Kudos
Message 1 of 3
(3,302 Views)

Hi,

 

 

TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.

 

 LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.

 

 1.JPG

 

Hope this helps

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 2 of 3
(3,245 Views)

Hi,

 

Thanks for the information..

 

I actually wanted to know ,

 

how to access the TestStand custom data type variable given in Expression Edit control (f(x)) on the LabVIEW Front panel

instead of unbundling the container value and using TS_GetProertyValue.vis individually for all the componenets of that custom data type.

 

Regards

Prakash

 

 

0 Kudos
Message 3 of 3
(3,214 Views)