Comparison Functions

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 FPGA Module Help
LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help

Owning Palette: FPGA Module VIs and Functions

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

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

Note  This palette is specific to FPGA targets and contains a subset of the VIs and functions that are on this palette when you edit a host VI.

The Comparison functions treat Boolean, numeric, array, and cluster values differently. You can change the comparison mode of some Comparison functions.

Refer to the Comparison Palette Details topic for information about Timed Loop compatibility, usage, timing, and resource considerations related to the objects on this palette.

Palette ObjectDescription
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.
Fixed-Point Overflow?Returns TRUE if FXP includes an overflow status and FXP is the result of an operation that overflowed. Otherwise, this function returns FALSE.
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.
In Range and CoerceDetermines whether x falls within a range specified by the upper limit and lower limit inputs and optionally coerces the value to fall within the range. The function performs the coercion only in Compare Elements mode. This function accepts time stamp values if all inputs are time stamp values. 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.
Max & MinCompares x and y and returns the larger value at the top output terminal and the smaller value at the bottom output terminal. This function accepts time stamp values if all inputs are time stamp values. If the inputs are time stamp values, the function returns the later time at the top and the earlier time at the bottom. You can change the comparison mode of this function.
Not A Number/Path/Refnum?Returns TRUE if number/path/refnum is not a number (NaN), <Not a Path>, or not a refnum. Otherwise, this function returns FALSE.
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.


SubpaletteDescription
Assert Type NodesUse the Assert Type nodes to customize sections of code in a malleable VI (.vim) for specific data types or to force a malleable VI to accept only data types that meet certain requirements.

WAS THIS ARTICLE HELPFUL?

Not Helpful