LabVIEW Idea Exchange

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

Bulk Add to array

Status: New

It would be nice if I could select many controls, indicator references, etc... And right click and have it add to a build array. It would automatically add the correct number of array connections and wire the selected control neatly and automatically. This would save a lot of time. This could be done for a lot of things.

 

19315i60939DE58AC3B889

Then select attach to build array to get:

 

19317iDC47DB148E66DDCA

Tim
GHSP
9 Comments
RavensFan
Knight of NI

This could be done with scripting.  There is a right click framework script that takes the selected terminals, makes references, then builds them into an array.  It should not be a major modification to that to do what you want.  No creation of references, perhaps just to a right align and a movement of the labels to confirm they look good, then use the wiring code in the RCF script starting from the terminals instead of the references it created.

altenbach
Knight of NI

Often, you can simply use an array control instead, eliminating a lot of diagram clutter. 😉

Manzolli
Active Participant

There are some cases that you get the data from a bunch of wires, not a control, like in the FPGA I/O Node. Then this idea is very welcome. The problem is how to choose the right outputs to use as input of the Build Array function. In the case of the FPGA I/O Node, it has two outputs for each item. Normally we want only the data.

 

I thing the user should also be able to select a bunch of wires and do a Build Array. The same idea can be applied to Concatenate Strings function.

 

In both functions, the user may need to do some rework to achieve what he really need. This rework should be less than effort necessary do it in the way it is done now, of course.

 

I will give Kudos because I think that idea can evolve and became something very nice to have handy.

 

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Darin.K
Trusted Enthusiast

Three primitives that I can think of could use this: Build Array, Bundle, and Concatenate Strings.  Of course you chose the one I would not (or very rarely) use, but if the trend of this idea is toward inclusiveness I can be easily swayed.

 

In the meantime, RCF would be helpful, as would LVSpeak if you would also like it to be smashy-smashy.

aeastet
Trusted Enthusiast

I would expect this to grow.As I said "This could be done for a lot of things" with many different options. This was the easiest to show the concept.

Tim
GHSP
tst
Knight of NI Knight of NI
Knight of NI

This is the RCF plugin RF was refering to. It should be relatively easy to modify.

 

While I see some appeal to this idea, I haven't needed this enough to implement it myself, leading me to think I probably don't really feel the need for it.


___________________
Try to take over the world!
muks
Proven Zealot

Good one and  this can also include selecting multiple wires (outputs) and insert build array.

KirkEvans
Member

I agree with Darin.K and would like to see this for all three of the primitives he lists - Build Array, Bundle, and Concatenate Strings.  If I had to just choose one, it would be Bundle.

CrystalTech
Member

I don't particularly use this one suggestion, but I like th idea of selecting several controls to configure all of them at the same time. I gave you Kudos.