Array To Cluster Function

LabVIEW 2014 Help

Edition Date: June 2014

Part Number: 371361L-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Array Functions

Requires: Base Development System

Converts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster.

The default is nine. The maximum cluster size for this function is 256.

Use this function when you want to display elements of the same type in a front panel cluster indicator but want to manipulate the elements on the block diagram by their index values.

Example

array is a one-dimensional array of any type.
Each element in cluster is the same as the corresponding element in array. The cluster order matches the order of the elements in the array.

Example

Refer to the Array to Cluster VI in the labview\examples\Arrays directory for an example of using the Array To Cluster function.

WAS THIS ARTICLE HELPFUL?

Not Helpful