Bundle Function

Owning Palette: Cluster, Class, & Variant VIs and Functions

Requires: Base Development System

Assembles a cluster from individual elements.

You also can use this function to change the values of individual elements in an existing cluster without having to specify new values for all elements. To do so, wire the cluster you want to change to the middle cluster terminal of this function. When you wire a cluster to this function, the function resizes automatically to display inputs for each element in the cluster. The connector pane displays the default data types for this polymorphic function.

Details  

 Add to the block diagram  Find on the palette
cluster is the cluster whose value you want to change. If you do not wire this input, the function creates a cluster. If you wire cluster, the Bundle function replaces the elements of cluster with element 0..n-1. If you wire a cluster, the number of input terminals must match the number of elements in the input cluster.
element 0..n-1 accepts any data type.
output cluster is the resulting cluster.

Bundle Details

Resize this function to indicate the number of elements in a new cluster. You cannot resize this function when an existing cluster is wired to the cluster input.

When you create a new cluster, you must wire all the inputs. The elements in the output cluster must appear in the same order as the input elements. When you wire an existing cluster to the middle terminal of this function, the inputs are optional. LabVIEW replaces only those cluster elements that you wire.