Converting a Cluster to an Array

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

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.

  1. Add a cluster to the front panel.

  2. Add the Cluster To Array function to the block diagram.

  3. Wire the cluster to the Cluster To Array function.
  4. Right-click the Cluster To Array function and select Create»Indicator from the shortcut menu to create an array indicator.
  5. 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful