Converting a Cluster to an Array
You can convert a cluster with elements of the same type to an array and use Array functions to manipulate the contents.
Complete the following steps to convert a cluster to an array.
- Add a cluster to the front panel.
Add Find
- Add the Cluster To Array function to the block diagram.
Add Find
- Wire the cluster to the Cluster To Array function.
- Right-click the Cluster To Array function and select Create»Indicator from the shortcut menu to create an array indicator.
- Run the VI from the front panel. The array indicator displays the values of the cluster.
You also can convert an array to a cluster.