Determines whether the input value falls within a range specified by the upper and lower limits and optionally coerces the value to fall within the range.
To allow the node to perform coercion, select Elements in the Behavior section of the Item tab.
A Boolean value that indicates whether the input value is in range.
True | x is in range. |
False | x is out of range. This node also returns False if x, upper limit, or lower limit is NaN. |
In Compare Elements mode, the data type structure of in range? matches the data type structure of x, with each scalar replaced by a Boolean value.
The coerced or unchanged input value.
Comparison Modes and x Value Behavior
If x is within the range set by the upper limit and lower limit or if the node is in Compare Aggregates mode, the value is unchanged. If x is not in range and the node is in Compare Elements mode, the node converts the value to the same value as upper limit or lower limit. If upper limit, x, or lower limit is NaN, coerced is NaN.
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Supported in VIs that run in a web application