LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connecting one vi to another

How can I connect two VIs to make the output of one VI to be theinput in another? I am making a library of my own and hence creating VI there?

0 Kudos
Message 1 of 6
(3,439 Views)

Hi Anandita,

  Create a new VI,make the two vis which you want to connect as SubVis and wire them together in the new vi.This will be the easist way.

 

Regards,

SrikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 6
(3,437 Views)

I think the question refers to "how connect front panel elements to the connector pane".

 

You should work through the LV 3 hour course or similar.

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 3 of 6
(3,427 Views)



 


Actually I am trying to the following equations in Vis

for suppose A= pie . D . N for this i have done one Vi.

for B= (m+R.C.A)g for this A will be input of the previous VIs output. If at all connector pane is maintained i need to give two minimum inputs for A in the next VI.that I dont want to do, I just want to carry forward thevalue from the VI I want.

0 Kudos
Message 4 of 6
(3,412 Views)

Why two minimum inputs are required ?

 

Its not mandatory to use all the connectors in connector pane.

 

Subvi 1: A= pie . D . N 

 

    This will calculate A and it will be the output as you mentioned.You will connect it to one of the connectors(as output) in the connector pane.So when u place the mouse pointer on this vi icon and press Ctrl+h button you will see the help window displaying the icon of this vi with one connector -in our case it will be A 

 

Subvi 2:B= (m+R.C.A)g

   This vi  has more variables of which our concern is with A. 

First step is that you will create a control named A ( along with the other variables ).Since value of A  has to be read from other sub vi , connect the control A to one of the connectors in the connector pane(as input).

 

As per you req you may call these two subvis in another vi and perform the calculation.Smiley Happy

 

Did you get a chance to go through the tutorial mentioned by Norbert?

 

0 Kudos
Message 5 of 6
(3,400 Views)

Thank you Frabto.Finally I can do it now.

Thank you Nobert I have gone through that tutorial too

 

 

Anandita

0 Kudos
Message 6 of 6
(3,348 Views)