09-04-2012 01:45 AM
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?
09-04-2012 01:52 AM
09-04-2012 02:12 AM
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
09-04-2012 04:22 AM - edited 09-04-2012 04:27 AM
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.
09-04-2012 05:58 AM - edited 09-04-2012 06:01 AM
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.![]()
Did you get a chance to go through the tutorial mentioned by Norbert?
10-11-2012 02:12 AM
Thank you Frabto.Finally I can do it now.
Thank you Nobert I have gone through that tutorial too
Anandita