LabVIEW Idea Exchange

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

Selection to Array / Selection to Cluster

Status: New

Often, when creating VIs, I'll start with a few constants and/or controls on my BD or front panel before at some point deciding I'd like to tidy them up.

 

With front panel controls, this means dragging them into an empty cluster. With block diagrams, this can mean dragging them into an empty array constant (or building an array from them).

 

I'd like to introduce two new right click menu items: Selection to Array and Selection To Cluster

 

Selection to Array

 

When a selection of elements of the same type are selected, a right click would bring up the option of 'Selection to Array'. There would also be an option to create a cluster from this selection too. An example context menu:

 

sel-array.png

Selection to Cluster

 

When a selection of elements of a different type are selected, the option for Selection to Array would be disabled, but Selection to Cluster would still work. You could also create clusters from a selection of a single data type. Here's an example on the front panel.

 

sel-cluster.png

 

(There's no reason why these couldn't be under Create > Cluster, or Create > Array, of course)

 

For me, these would be handy additions.

---
CLA
2 Comments
altenbach
Knight of NI
ToeCutter
Active Participant

Like it- voted for them both.