Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Bundle Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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  

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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit