Array To Cluster Function

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

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