Array To Cluster Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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