Assert Array Dimension Count 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 Count.png

The Assert Array Dimension Count 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 type, such as fixed, bounded, or variable-sized, as the corresponding dimension in the input comparison array. To check if each dimension has the same size, use the Assert Array Dimension Sizes 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.


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.


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

See Also

External Links