LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

passing on values from one vi to another

Hello,
 
I am measuring the current value in one VI and would like to pass it on in another vi?
Say I measure. 1.2 Amps in Vi_1.
 
Now i need to pass this value into another Vi called Vi2.
 
Do I need to create a subVi? how would i approach this.
 
Thanks
Ravi
0 Kudos
Message 1 of 3
(2,623 Views)
Both VI1 and VI2 would be subvi's of a main vi.  The main would call Vi1, then Vi2.  The measured value in Vi1 should go to an indicator, and the indicator would be connected to a terminal on the vi's connector pane.  In Vi2, create a control and connect it to the connector pane.  Then in main, wire the output terminal of Vi1 to the input terminal of Vi2.  This is very basic Labview stuff.  You need to look at the tutorial and some basic examples.
- tbob

Inventor of the WORM Global
Message 2 of 3
(2,618 Views)
thanks a lot for the help. I got it actually as i read through the tutorial...thanks again though for the help.
0 Kudos
Message 3 of 3
(2,616 Views)