Showing results for 
Search instead for 
Did you mean: 

how to create input ouptut in an existing VI?

Hello, Excuse me for my English, I'm French ..
I don't find where I can add input and output to an existing VI: Endeed:
I created an easy VI with 2 inputs and 4 outputs. I saved it. But when I want to include it in another VI (with : funcions/select a vi.. in functions tools) it don't have any input or output where I can connect inputs and outputs to it.. How can I add it or declare it?
Thank you

ps: see atachment

Message Edited by ramiral on 03-21-2005 10:02 AM

labview 7.0
0 Kudos
Message 1 of 10
You need to actually wire the inputs and outputs to the connector pane. Right click on the VI's icon (upper right) and slect show connector. The wiring tool will be automatically selected if you move the cursor over the connector pane. Select which connector you want to use and then select the control or indicator. All of this is covered in chapter 7 of the LabVIEW User Manual.
Message 2 of 10
What you need to do is add your controls and indicators to the connector pane.

On the front panel right click on the icon in the upper right corner and select "Show Connector" You will then see a pattern of terminals. You can right click again to see multiple options with this pattern.

To connect a control or indicator to a terminal you use the wiring tool. Simply click on the terminal you want and then click on the control you want to associate with that terminal.

Once you are done save the VI, and you will now be able to use the VI as a SubVI. I believe the LabVIEW tutorial also walks you through this, so I would suggest running through that as well.
Message 3 of 10
Hello ramiral,

right click on the icon (upper right corner of the user panel window) and select "Show connector". Then you can select different patterns to match your needs.

Hope this helps,
Best regards,

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 10
Right click on he vi icon (Top left),
select show connectors
select the appropriate pattern (always have some extra unused terminals)
Then connect the relevant contrlos/indicators to the appropiate pins

Once done, save the vi
Message 5 of 10
First price to Dennis, who can obviously type fast than all of us.

Bravo 🙂
0 Kudos
Message 6 of 10
Thank you very much, it works! 😉
labview 7.0
0 Kudos
Message 7 of 10
But I have another problem : My main bloc diagram has a structure stacked sequence. But I want to give some values from one sequence to another one .I tried to link directly but it doesn't work. I also tried a formula node ouside these sequences with output=input but doesn't work too.
What kind of buffer can I take? it's to give integer.
I will have after to transmit too arrays between each sequence, is it posible?
thank you

Message Edited by ramiral on 03-22-2005 08:11 AM

labview 7.0
0 Kudos
Message 8 of 10
"I will have after to transmit too arrays between each sequence, is it posible?"

You can do that, by
right-click on a place on the sequence,
select add sequence local
connect data to to the created sequence local
then the all next sequences can take data form that local sequence
0 Kudos
Message 9 of 10
What a quick answer! I try now

Edit: It's ok I manage to transmit datas.

Message Edited by ramiral on 03-22-2005 08:50 AM

labview 7.0
0 Kudos
Message 10 of 10