LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving the terminals on the icon.

Hi,

A short question.

When I make a SubVI with two inputs, I get one of the terminals one the left side of the icon and the other input on the right side. Is there a way to get them both on the left side? It seams to be a standard to have inputs on left side and outputs on right side.

Thanks,

/Thomas
0 Kudos
Message 1 of 5
(4,032 Views)
The terminal connections for either input or output can be located on any side of the VI icon. The normal convention is for the inputs to be on the left and the outputs to be on the right, this helps keep the data flow on the block diagram in a left to right direction.

The terminal assignment can be modified by right-clicking on the icon in the upper right corner of the front panel window and selecting Show Connector. Once that is selected you can change the terminal pattern. You can dis-connect some or all of the terminal connections, and then re-assign them with the wiring tool, associating each control or indicator with the desired terminal position.
Message 2 of 5
(4,032 Views)
Just create pattern with 2 inputs and 1 output and connect both inputs to coresponding input terminals. The output terminal leave as not connected.
0 Kudos
Message 3 of 5
(4,032 Views)
Right click on the icon and choose 'show connector'.
Right click again and choose 'patterns'.
Choose a pattern with plenty of terminals. I never use less than 8. This
helps later when you think of new things you want to add.
Now if you don't like the placements you can right click and choose
disconnect all terminals and then put them wherever is best for you.

"Tobe" wrote in message
news:50650000000800000054630000-1031838699000@exchange.ni.com...
> Hi,
>
> A short question.
>
> When I make a SubVI with two inputs, I get one of the terminals one
> the left side of the icon and the other input on the right side. Is
> there a way to get them both on the left side? It seams to be a
> standard to have inputs on left side and outputs on right side.
>
>
Thanks,
>
> /Thomas
0 Kudos
Message 4 of 5
(4,032 Views)
You can also rotate or flip the connector icon to get more inputs or outputs where you want them. With the connector icon showing in the front panel window, right-click on the connector icon and select Rotate 90 Degrees, Flip Horizontal, or Flip Vertical.

On a more general note: I try to avoid creating VIs with no outputs. You are often forced into placing a VI with no output in a sequence or other structure if the VI needs to finish before other VIs can run. If the VI has an output, you can use the output and data dependency to force subsequent VIs to wait. If the VI has no other logical output, I wire Error In to Error Out so I have the option to use an Error In/Out chain to control the execution order in the calling VI.
0 Kudos
Message 5 of 5
(4,032 Views)