LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the input and output of a subVI

I am trying to configure a subVI by following Chap. 7 of "LabVIEW fundamentals". But I stuck at "Building the connector pane".

 

My subvi is quite simple, just for testing purpose. I plan to do a summation and display the result. So I placed one numeric Add icon on the block diagram and a numeric Indicator on the front panel. I built a connector pane with three terminals, two for input and one for output. 

 

But, how could I associate the terminals on connector pane with inputs and outputs of terminals on the block diagram? I wanna build a subVI, whose input are two numbers and display the summation on the subVI.

 

 

--
Forrest Sheng Bao, Ph.D.
Assistant Professor, Dept. of Electrical & Computer Engineering
University of Akron, Akron, OH, USA
https://sites.google.com/site/forrestbao/
0 Kudos
Message 1 of 6
(4,382 Views)

Hi Forrest Bao,

open your subvi. Go to the Front Panel. Right click on your icon and select, show connector pane. Click on the place where you want to link your control with. Click on the control/indicator which you want to assign with the selected place. If all is ok, the color will change from white to ... depending on the linkes data type.

 

Mike

Message 2 of 6
(4,379 Views)

ok, so, what if wanna disconnect the association between a terminal on connector pane and a control/indicator?

 

 

--
Forrest Sheng Bao, Ph.D.
Assistant Professor, Dept. of Electrical & Computer Engineering
University of Akron, Akron, OH, USA
https://sites.google.com/site/forrestbao/
0 Kudos
Message 3 of 6
(4,374 Views)

Hi Forrest Bao,

use the right mouse key as often as you can in LabVIEW. It´s very helpful. If you right click on a link in the connector pane, then you can select to disconnect selected or all. Smiley Wink

 

Mike

Message Edited by MikeS81 on 08-28-2008 01:33 PM
Message 4 of 6
(4,369 Views)
alright. Thanks. Can you tell me a reference, i.e., documentation or manual, that I can read to know those things you just mentioned?
--
Forrest Sheng Bao, Ph.D.
Assistant Professor, Dept. of Electrical & Computer Engineering
University of Akron, Akron, OH, USA
https://sites.google.com/site/forrestbao/
0 Kudos
Message 5 of 6
(4,363 Views)

Hi Forrest Bao,

see the free courses: http://www.ni.com/academic/lv_training/d/how_learn_lv.htm,

the shipped examples in the example finder and

the LabVIEW help. Smiley Wink

 

Mike

Message 6 of 6
(4,359 Views)