LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get input values of Re-entrant VI by reference

Hi, 

I would like to be able to get the input values of a re-entrant vi, from another vi, by reference. The problem I see is that the values that are returned are just the default values of the controls and not the actual values. Is there any way to get the values of a re-entrant vi by reference. I have also tried the "Get Control Values by Index" function from the application control pallet and still no joy.

 

Basically what I want, is to have a logger.vi, that i can drop into several other re-entrant vi's which can get the values of all the controls on the vi that calls the logger.vi, without having to manually wire all inputs on every vi. Any input is greatly appreciated.

 

Thanks

0 Kudos
Message 1 of 2
(2,486 Views)

You need to keep the reference of the VI (clone) that gets launched, not use the reference to the VI on disk.

CLA
0 Kudos
Message 2 of 2
(2,469 Views)