Array To Cluster Function
- Updated2025-03-14
- 3 minute(s) read
Array To Cluster Function
Converts a 1D array to a cluster of elements of the same type as the array elements. Double-click the function to open the Cluster Size dialog box and 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.

Inputs/Outputs
![]() 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.
|
FPGA Module Details
The following details apply when you use this object in an FPGA VI.
Single-Cycle Timed Loop | Supported. |
Usage | N/A |
Timing | The Cluster & Class functions require no clock cycles to execute because they do not include internal registers. |
Resources | The Cluster & Class functions consume no FPGA resources because they are purely wiring operations. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Arrays\Array to Cluster.vi