Express Comparison VI and Functions

Owning Palette: Arithmetic & Comparison Express VIs

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Express Comparison VI and functions to compare Boolean values, strings, numeric values, arrays, and clusters.

The Express Comparison VI and functions treat Boolean, string, numeric, array, and cluster values differently. You can change the comparison mode of some Express Comparison VI and functions. You also can use the character Comparison functions to compare characters.

Palette ObjectDescription
ComparisonCompares input items you specify to determine whether values are equal, greater than, less than, and so on.
Equal To 0?Returns TRUE if x is equal to 0. Otherwise, this function returns FALSE.
Equal?Returns TRUE if x is equal to y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
Greater Or Equal To 0?Returns TRUE if x is greater than or equal to 0. Otherwise, this function returns FALSE.
Greater Or Equal?Returns TRUE if x is greater than or equal to y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
Greater Than 0?Returns TRUE if x is greater than 0. Otherwise, this function returns FALSE.
Greater?Returns TRUE if x is greater than y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
Less Or Equal To 0?Returns TRUE if x is less than or equal to 0. Otherwise, this function returns FALSE.
Less Or Equal?Returns TRUE if x is less than or equal to y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
Less Than 0?Returns TRUE if x is less than 0. Otherwise, this function returns FALSE.
Less?Returns TRUE if x is less than y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
Not Equal To 0?Returns TRUE if x is not equal to 0. Otherwise, this function returns FALSE.
Not Equal?Returns TRUE if x is not equal to y. Otherwise, this function returns FALSE. You can change the comparison mode of this function.
SelectReturns the value wired to the t input or f input, depending on the value of s. If s is TRUE, this function returns the value wired to t. If s is FALSE, this function returns the value wired to f.