Cluster To Array Function
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Converts a cluster of elements of the same data type to a 1D array of elements of the same data type.

Inputs/Outputs
cluster
—
The cluster components cannot be arrays.
array
—
The elements in array are of the same type as the elements in cluster. The order of the elements in array is the same as the cluster order of the elements. |
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 | The LabVIEW FPGA Module supports only one-dimensional arrays that resolve to a single size at compile time. If LabVIEW cannot infer a single size for an array, you may need to manually configure the array to a fixed size. |
| Timing | This function requires no clock cycles to execute because it does not include an internal register. |
| Resources | This function consumes no FPGA resources because it is purely a wiring operation. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Arrays\Array to Cluster.vi
cluster
—
—
array
—