LabVIEW Idea Exchange

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

Create cluster out of selection

Status: Completed

Available in LabVIEW 2019 and later. Right-click on a selection of controls, indicators, or constants and select Create > Cluster from Selection.

Hi guys,

I'm missing some very fast way how to create cluster out of selection. It could be done as it is shown here:

 

create cluster.png

 

I think since LV developers became familiar with Every GUI Programmer's Dream they are ready for the next step...

CLA, CTA, CLED
20 Comments
muks
Proven Zealot

I will find this useful when I am into some one elses code.

Eric.M
Active Participant

While I can see an interest for this idea (voted !), I'm always under the impression that multi-elements features (that need a selection) are not that used, and as they all use scripting, so they basically could fall into a quick drop (I actually have already done this one - creating a cluster out of a selection on the FP or BD) which is usually more efficient than navigating into a menu.

 

 

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

Darren
Proven Zealot

LabVIEW R&D is looking into adding this functionality to a future LabVIEW release. I have a question for anyone still following this thread. If you used this feature to create a cluster constant, would you expect it to work if Fixed Constants (Like 'Pi', 'End of Line', and 'Not A Path') were included in the selection, like this:

 

1.png

 

My original plan was to exclude Fixed Constants (since they can't be dragged into cluster constants), but I received feedback that perhaps users would expect the behavior shown in the diagram above. It's non-trivial work to add the Fixed Constant functionality, which is why I'm asking here...would you expect Fixed Constants to be supported by this feature, or not? Would you find it inconvenient if Fixed Constants were not supported?

wiebe@CARYA
Knight of NI

a) It would be nice if those constants could live in clusters regardless this new feature.

b) If\when this is possible, I'd expect this to play nicely with this idea.

c) If it is not possible for those constants to live in clusters, I can live without the automatic clustering for those constants. At least at first, it could be an add on feature (much) later.

okubik
Active Participant

What about to conditionally throw an user dialog informing user that the build-in LV constants will be converted to the explicitly-defined constants of the same datatype. So the user can confirm or cancel the operation.

CLA, CTA, CLED
crossrulz
Knight of NI

I think it would be really neat to have the constants get added, but I would not initially expect it.  It would feel like putting a VI into a cluster.  So my vote is to not add the constants but create another idea to have them added.  People can then vote on that part of the feature.

 

If adding the constants was "trivial", I would say to just do it.  But there are plenty of other features I would much rather NI spend their time on.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
AristosQueue (NI)
NI Employee (retired)

Adding those constants to clusters is extremely not trivial.

Darren
Proven Zealot
Status changed to: In Development
 
Darren
Proven Zealot
Status changed to: In Beta
 
Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW 2019 and later. Right-click on a selection of controls, indicators, or constants and select Create > Cluster from Selection.