Numeric Assertion

Table of contents

Description

A numeric assertion tests some numeric-based value, property, or condition against a comparison value using the specified comparison type.

Parameters

Step Subtype

The specific operation to be performed. It can be one of the following values.

Value Meaning
Numeric Ctl Value Checks a numeric control's current value against the specified value.
Array Ctl Size Checks an array control's current size against the specified value. For 2D arrays, checks row size. Higher-dimensional arrays not supported.
Ctl Width Property Checks a control's Width property against the specified value.
Ctl Height Property Checks a control's Height property against the specified value.
VI Width Checks a VI's width against the specified value.
VI Height Checks a VI's height against the specified value.
Window Width Checks a window's width against the specified value.
Window Height Checks a window's height against the specified value.
Window Scale Checks a window's display scale, given in percent, against the specified value.
Number of Displays Checks the current number of displays against the specified value.
Highest Display Scale Checks the highest display scale of all displays, given in percent, against the specified value.

Comparison Type

The type of comparison (comparator) to use when performing the comparison of the actual value against the comparison value.

Object Name

For all subtypes except Number of Displays and Highest Display Scale, the name of the object referenced in the assertion. It can be a control name, VI name, or window name.

Comparison Value

The value to compare the actual value against.

Remarks

The Numeric Ctl Value subtype works for any control whose “essential data type” is a numeric, including listboxes, rings, enums, tab controls, sliders, tanks, etc.

The Window Width and Window Width subtypes are sensitive to display scale; the other width- and height-based subtypes are not. This may change based on the version of LabVIEW used and Windows high-DPI settings.


This site uses Just the Docs, a documentation theme for Jekyll.