LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Placing control values based on Label from other VI

Hi,

    I have two independent VIs, VI-1 and VI-2. VI-2 has a number of controls and indicators and VI-1 needs to place the values in controls and get values from indicators from VI-2. But only thing that VI-1 knows is the label names of controls and indicators of VI-2. Is there a way to implement the logic for placing the values in controsl and get values from indicators based on label from other VI?

Message Edited by 12345qwertt on 01-04-2010 04:05 AM
0 Kudos
Message 1 of 3
(2,314 Views)

Yes that's easily possible, open a reference to the other VI and use an invoke node to get (or set) the values:

Set Remote Values.png

The only thing you need to make sure is that the datatypes match, and that you have access to the remote VI.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 3
(2,307 Views)
Thanks alot for your reply.....
0 Kudos
Message 3 of 3
(2,299 Views)