LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display: convert all (hundreds) from "view as icon"

Solved!
Go to solution

 

How can I reduce all of the icons in my schematic view to the smaller representation- i.e. disable "view as icon" property without selecting each individually?

 

Inheritted someone's sprawling 6-by-6 foot nest of wires....

 

 

0 Kudos
Message 1 of 9
(3,276 Views)

Since there is no property for it I don't think it's possible to automate.  Maybe an NI guy will know of a way.

 

It's a shame that this silly option defaults to ON.  I'll bet every LabVIEW noob ends up kicking himself for not turning it off after a few months of LV experience when their block diagrams start to get more complex.  Is there ANY advantage to this "feature"??? Smiley Mad

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 9
(3,261 Views)

Hi KevinMac,

You can do this by going to Tools> Options>> Click 'Block Diagram' >> Untick the option 'Place front panel terminals as icons'.

Unfortunately you will have to do this before you start making your code...

 

Hope this helps!

 

 

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 3 of 9
(3,251 Views)

@JohnMc19 wrote:
Unfortunately you will have to do this before you start making your code...

I beg to differ...

 


@NIquist wrote:

Since there is no property for it I don't think it's possible to automate.  Maybe an NI guy will know of a way.


Well, I'm not an NI guy, but I can tell you that this can be done using scripting. See attached example, written in LV 2010. Smiley Wink

 

 


It's a shame that this silly option defaults to ON.  I'll bet every LabVIEW noob ends up kicking himself for not turning it off after a few months of LV experience when their block diagrams start to get more complex.  Is there ANY advantage to this "feature"??? Smiley Mad

Supposedly it comes in useful with graph controls/indicators. Or something like that. I don't know - it's also one of the first things I turn off, if not the first thing, on new LV installs.

 

Message 4 of 9
(3,250 Views)

See this thread for a utility VI that will solve your problem.  Also, kudo this idea exchange post if you want the default option changed.

Message 5 of 9
(3,247 Views)

Somehow I should have known that Darren would have something like that tucked away in his little LabVIEW toolbelt. Smiley Very Happy

0 Kudos
Message 6 of 9
(3,238 Views)
Solution
Accepted by topic author KevinMac

Here is my version of it.  Actually one of my first attempts at scripting.  I used the framework that was demonstrated when scripting first became public.  The same framework as "smashy-smashy".

 

Run this.  It creates a sort of background running VI.  Just have the block diagram you want to change active, then go over and click the button on this VI.  This way you don't have to worry about paths.

 

(Since then, I've gone a step further and learned about the Right Click Framework and made it an add-on for that.)

 

 

 

 

Message 7 of 9
(3,225 Views)

The "view as icon" is very handy for classes and (new use case) clusters of typedefs.  There are some who say you should not mix use of both types, but I, personally, beg to differ.  I use it for clusters and classes.  In all other cases, I would rather have the standard glyph (and i DO turn "view as icon" off immediately on new installs).

Message 8 of 9
(3,219 Views)

Thanks.

 

RavensFan tool did the trick beautifully.

 

In the end this code is destined for iconless CVI, but I have to do some tire-kicking first.

0 Kudos
Message 9 of 9
(3,199 Views)