From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

A faster & neater way to show Cluster Element Labels

Status: Already Implemented
Available in LabVIEW 2012. In LabVIEW 2012 and higher, you have the ability to select multiple items on a block diagram (like elements in a cluster) and have a common right-click menu items available (like Visible Items>>Labels)

Here's how we currently make cluster element labels appear, and a proposed idea for improvement.

ClusterLabels.png

Richard






28 Comments
PaulG.
Active Participant

This is a must have. Even if you went in and did it manually the next time the cluster changes you lose the labels. It's always been like that and it's always annoying.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
rgvdh@rdf
Member

That would have saved me a lot of time over the last few weeks.

SteveChandler
Trusted Enthusiast

The best ideas are always the obvious ones - the ones so obvious that you never think of them!

=====================
LabVIEW 2012


altenbach
Knight of NI

I agree this would be nice. I often do this operation manually.

 

What about more complicated data structures. For example if we have clusters of clusters, should it only do the toplevel or recursively also apply the operation to subclusters? I think toplevel is sufficient and less messy.

AristosQueue (NI)
NI Employee (retired)

I like this idea, but why put the labels to the side instead of on top? To my eyes, the ragged alignment makes it hard to scan for a particular element. Thoughts?

altenbach
Knight of NI

> but why put the labels to the side instead of on top?

 

I guess it depends on how the elements are arranged. If we do a vertical arrangement AND have many element, placing the labels on the side prevents the cluster from becoming gigantic vertically. This is typically the case in my applications. At the moment we don't have control over the vertical alignment if we auto-arrange, but one solution here would be to e.g. vertically align the edges where the label meets the control by default. Or we could try to ensure that all elements have the same width, which is probably not always possible..

 

OTOH, for tiny clusters, the label on top might be better ...

 

(It is one current shortcoming of the cluster autoarrange operations that if we select e.g. " arrange vertically", the horizontal alignement is also forced (=left aligned) for no real obvious reason. . I typically align vertically, then disable all autosizing and do some manual horizontal shifting for a clearer look. That might belong into another idea though... ;))

 

 

 

elset191
Active Participant

Just put the labels wherever the user has set their default.

--
Tim Elsey
Certified LabVIEW Architect
Broken_Arrow
Active Participant

Thanks elset. Yep, when/if that Idea gets implemented, it would solve the alignment issue here.

Richard






vt92
Active Participant

Excellent idea.  This has always been a huge annoyance for me.

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Eric_BOB
Member

Hi good idea.

Few month ago,I do it with one JKI RightClick plugin. See here http://decibel.ni.com/content/thread/4931?tstart=0 . the 9's plugin do it.

have fun.

Eric