NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing VI handle

How do you pass a VI handle (reference number) from one TestStand step to another?

 

Thanks in advance.

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

Basically in your step (i.e.intialize) you would take the output handle and create a teststand local variable of LabVIEWIO control type. Click on the expression browser button when you are configuring your step module output. Also see here .

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 3
(3,098 Views)

I would instead use a local variable of type 'Number' not a LabVIEW IO Control type:

 

When I mapped a VI that outputs a VI Reference, TestStand automatically gave it a type of Number ( U32 ). 

 

See attached picture.

 

It depends on your usage of the handle, it actually may be beneficial to save the Reference in a FileGlobal if you intend to use it within multiple sequences.

 

Thanks,

 

PH

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