LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sub-vi open (non -iconised view )and icon size

I have created a sub vi - which has several
terminals which makes it hard to wire, I also wish to use create a constant with several terminals in the calling program.
The only way I have found to increase the size of the ICON in the calling program is to untick the view as ICON menu. However the terminals then appear in alphabetical order on I/P and O/P sides, and not as in connector pane .
Is there someting I'm missing.
thanks all
0 Kudos
Message 1 of 3
(2,845 Views)
Hello dht,

if you need so many parameters for your subVi then you will have so much small terminals in your icon... To make it easier to wire NI gave you the tick "View as Icon" (you found it already). I don't think you missed something there...
My advice would be: could you join some of your terminals to clusters or arrays? This would reduce the number of the terminals, resulting in easier to handle terminal patterns. You need constants for several inputs? This could be avoided by setting them as default values for these controls. This way you only need to wire the "important" inputs...

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,845 Views)
Hi There

If I am having problems wiring a subVI, the first thing I try is to turn on the context help window. This more clearly identifies the connection and highlights the one the pointer is over.

As you have noticed, when "view as icon" is deselected, a subVI is displayed differently. There are actually 2 ways you can show the terminals when in this mode. They can either appear slighty expanded around the icon, or alternatively by dragging down the small arrow they can appear as text. You can control the number terminals that are shown as text, through the dragging process. It is also possible to control the order in which the terminals appear, by right clicking on a terminal and going to select input/output in the short-cut menu.

I think an important poin
t is made in the previous post. If the number of terminals on a subVI is making it difficult to wire, think about using clusters. The maximum number of connections that can be made to a subVI is 28, to exceed this limit programmers will use clusters or arrays to group data together.

I hope this helps

SimonS
0 Kudos
Message 3 of 3
(2,845 Views)