Creating Array Constants

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

Create an array constant on the block diagram by combining an array with a valid constant, which can be a numeric, Boolean, string, path, refnum, or cluster constant. The element cannot be another array.

  1. Add an array constant to the block diagram. An array shell appears, with an index display on the left, an empty element display on the right, and an optional label.

  2. Add a constant to the array shell. For example, you can add a numeric constant to the array shell.



    You can copy or drag an existing array from the front panel window to the block diagram window to create a constant of the same data type. The array shell automatically resizes to accommodate the object you place in the array shell.

    When you place an object in the array shell, you define the data type of the array constant.

WAS THIS ARTICLE HELPFUL?

Not Helpful