Bundle Magic is a LabVIEW plugin that augments right-click menu options for manipulating by dialog:
Cluster and class wires and terminals
Unbundle- and bundle-by-name nodes
Refnum terminals and wires
Property and Invoke nodes
Class constants and controls
A dialog is presented to search and select cluster items, properties, methods, and LabVIEW classes, automating the placement of bundle- and unbundle-by-name nodes, property nodes, and invoke nodes when clicking on the appropriate terminals or wires.
You can also add, remove, or rearrange elements from bundle- and unbundle-by-name nodes and property nodes; browse and change methods on invoke nodes; and select and apply class types for LabVIEW class constants.
Zyga's Insert Bundle By Name was the primary inspiration for this plugin. That inserts one item at a time through a tree of flyout menus, and I saw in this an opportunity for improvement. I borrowed some code in order to learn how to get a data type from a wire. Thank you.
Creates a constant if unwired and selected without a corresponding source terminal
Only allowed for wired sink terminals
Inserts named bundler on wire
Inserts named unbundler on Wire
Unbundle By Name Element Terminals
Bundle By Name Element Terminals
Click on a specific output terminal to add items before or after that terminal
Remove Unwired Elements
If all elements are unwired, the last element will remain after this function executes
Change order of elements in un/bundler node
Drop Property Node and connect to terminal or insert property terminal on wire
Drop Invoke Node and connect to terminal or insert Invoke Node on wire
Property Node Element Terminals
Insets properties before or after the clicked property. If only the default element is displayed, this function will replace the default element
Select items to remove from the node
Remove Unwired Properties
Change order and./or read/write of displayed properties in node. Setting R/W status of an element to false will remove the element from the node.
Set method of Invoke Node
Change class of class constant
Copy Class Name to Clipboard
Change class of refnum control
*Bundling or unbundling clusters with one terminal will occur without a dialog; Single element clusters where element is unnamed will drop an unnamed un/bundler node without a dialog unless terminal is a tunnel.
Bundle Magic requires a patch to the LabVIEW core, so manual installation is not recommended. Use the supplied VI Package Manager installer.
Properties and Methods dialogs can be slow to load because they are built on the fly from a list of all available properties. Prebuild all properties and methods by data type.
Deprecated Properties The Remove and Rearrange dialog will show all deprecated properties as both read- and write-available. This may not always be accurate. Thus, changing the R/W setting of a deprecated property in the rearrange dialog may not work.
Placement of un/bundle nodes may be incorrect for sequence locals on stacked sequence structures.
Author: Russell Wagner, Little Sphaeroid Design
_____________ Creator of the BundleMagic plugin for LabVIEW!