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.


icon

Inputs/Outputs

  • c1duvoid.png array

    array is a one-dimensional array of any type.

  • iunclst.png cluster

    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.

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • ipoly.png

  • FPGA Module Details

    The following details apply when you use this object in an FPGA VI.

    Note The following details are subject to change with each version of the LabVIEW FPGA Module.
    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