Assert Array Dimension Sizes function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) Assert Type palette
Type VI
Requires Basic Development Environment
Icon Assert Type Palette - Assert Array Dimension Sizes.png

The Assert Array Dimension Sizes VI breaks the calling VI unless the input data is an array with the same number of dimensions as the input comparison array and each dimension has the same size and type, such as fixed, bounded, or variable-sized, as the corresponding dimension in the input comparison array. If you do not need to compare the size of each dimension, use the Assert Array Dimension Count VI.

This VI does nothing at run time. Use this VI in conjunction with the Type Specialization structure to customize sections of code in a Malleable VI (.vim) for error clusters or to force a Malleable VI to accept error clusters only.

Usage

LV Variant Array.png array type specifies the input comparison array with the requirements that the input data must meet.

This input accepts arrays of any data type. To set the data type of this input, wire a constant or control of the desired data type to array type. LabVIEW ignores any data in the constant or control wired to array type.

LV Variant Array.png value in specifies the input data.

This input accepts arrays that meet the requirements of array type.

Variant Array Indicator.png value out returns the input data if value in is an array that meets the requirements. Otherwise, this output returns an empty array of array type.

History

Version Change(s)
LabVIEW 2018 This VI was added in LabVIEW 2018.

See Also

External Links