|
|||||||||||||
Sometimes when dealing with the Bundle/Unbundle by Name nodes, I start with more elements than I actually end up using. Then, my block diagram looks something like the following:
Maybe I'm just lazy, but I really hate removing each unused item from the Bundle/Unbundle by Name node over and over. Right click on unused element, click "Remove Element", Right click on next unused element, click "Remove Element", etc... Ugh!
So I'm suggesting a "Remove Unused Elements" when you right click on a Bundle/Unbundle by Name nodes. With this option, right clicking on one of these nodes would look like this (emphasis added
):
The result of this operation would look something like this:
Now I can spend my time coding instead of getting rid of individual elements!
Thoughts?
This is essentially a duplicate of Bundle Cluster: Remove Unused Inputs although that is talking more about the broken wires on a bundle while this is actual unused elements on bundle by name.
Remove Unused Inputs also applies. But that didn't specifically mention Bundle by Name
I have some doubts that the result of the operation will ever lead to nicely aligned wires and objects as shown above. Try to expand a diagram, create a VI, do anything that will result in wires being stretched apart, and NI's cleaning algorithm is going to do its things.
This is thread hijacking if there ever was one, but take a look at this sequence:
I'll let you guess where the brown wire has disappeared... :-)
I think I'd be fine with the wires being a little messy after this operation. After all, I can just highlight that section of code and perform a selected block diagram cleanup. ![]()
+1 here, though I usually shrink the (un)bundle-by-name object to the smallest and add them in choosing which elements to include as I add them.
Another thing, somewhat on the topic of cleaning up bundle/unbundles (same would go for the elements on the side of an event or timed structure), would be the ability to pick up and rearrange the elements inside the object rather than choosing a new element and rewiring it.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page