Get Array Information VI

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Owning Palette: Data Type Parsing VIs

Requires: Base Development System

Retrieves array information from the data type stored in Variant. This VI only accepts variants that contain the array data type.

Note  This VI does not return information about values stored in the array.

Variant specifies the variant data from which you want to retrieve data type information.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Number of Dimensions returns the dimensionality of the array stored in Variant.
Array Lengths returns the type and length of each dimension of the array stored in Variant.
Type returns the type for each dimension of the array stored in Variant. Most arrays in LabVIEW are variable-sized arrays. Only certain domain-specific situations, such as programming with the LabVIEW FPGA Module, use fixed-size arrays and bounded arrays.

0Variable—Indicates that the memory of the array dimension can grow or shrink as needed to fit the data size.
1Fixed—Indicates that the memory of the array dimension is pre-allocated and the data length cannot change.
2Bounded—Indicates that the memory of the array dimension has a maximum size and can store data with length less than or equal to this size.
Size returns the length of each dimension of the array stored in Variant. If Type is Variable, Size returns 0. If Type is Fixed or Bounded, Size returns the number of elements in each dimension of the array.
Array Element Data Type returns the data type of elements of the array stored in Variant.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful