LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Davidek

Option to always place Clusters constants as Icons

Status: New

The ability to view a cluster constant as icons on the blockdiagram (implemented after an idea posted here) is great! I use this for 99% of my cluster constants. But I have to first place/create the constant, then right click it and select "View As Icon". This is a bit tedious, espescially since greating a constant for a large cluster inside a structure will often mess with your layout via autogrow. I would like to have a checkbox in the LabVIEW options that controls the default behavior so I can make "View as Icon" the default. Just like the "Place Front Panel terminals as Icons" option.

 

Best Regards

 

David

9 Comments
SteenSchmidt
Trusted Enthusiast

You don't have to right-click and select view as icon - just simply double click on the border of the cluster.

 

I always check that it's the correct cluster I've dropped on the BD by glancing over its contents before double clicking it and making it an icon instead. So I wouldn't want it to drop as an icon by default, as many of my control icons aren't individualized. So unfortunately no kudos for me this time around 😕

 

Cheers,

Steen

CLA, CTA, CLED & LabVIEW Champion
altenbach
Knight of NI

... and at a later point you still might have to look at the cluster for verifications, blowing up your structures. Maybe we need something slightly different: For example if the mimimized cluster fits nicely into the structure, double-clicking it should maybe float the cluster constant above the diagram, without resizing any structures surrounding it.

Davidek
Active Participant

Steen,

Sure, dubbel-click is what I do too, most of the time. I always have problems when I have clusters in a cluster or an array of clusters and click the wrong border 🙂

But the thing that I really want to avoid is if I create cluster constants from an output of a case structure and the cluster autogrows the whole block diagram. And I understand that not everyone will want it the same way, I just want the option to set it globally instead of having to do it for every cluster. 

 

Altenbach,

I couldn't agree more. There is already a similar idea for that posted, that's why I didn't mention it.

SteenSchmidt
Trusted Enthusiast

But I'm never hit by any of that as I don't use autogrow. It never ceases to amaze me the pain that decission saves me from 🙂

 

/Steen

CLA, CTA, CLED & LabVIEW Champion
altenbach
Knight of NI

The problem is that if you have autogrow disabled, the expanded cluster will be mostly hidden underneath the existing structure boundaries, causing usability problems if you actually want to inspect or change the cluster....

SteenSchmidt
Trusted Enthusiast

But style survives 😉

 

I'd rather see a more elegant representation of cluster contents in the context help window.

 

/Steen

CLA, CTA, CLED & LabVIEW Champion
GregSands
Active Participant

Both these other suggestions sound more useful: (a) floating the cluster constant for temporary viewing, and (b) a better Help window representation.  Do you have links to those ideas?

Wart
Member

A cluster could show up as expanded on mouse hover.  Then you'd have a way to see it, on top of everything else, without having to actually expand it.

 

The requirement to hover should help prevent accidently getting a giant cluster floating on top of anything you're trying to look at.

rand1038
Member

I don't mind initially dropping a cluster and then setting it to icon view.  The problem I have most is when an autoupdate typedef is inside more than one nested structure.  Every time the typedef gets updated all of the structures that contain it blow up when an autosize event occurs.  When you double click to show as icon, an autosize event occurs.

 

I would be happy if "Always Show as Icon" was a properties setting per cluster with the outermost cluster over riding this setting for all contained clusters.  Similar to subdirectories inheriting from parents.