Returns one of two values based on the value of the input signal.
Input signal.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Threshold of input above which the relay is on.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default: 0
Threshold of input below which the relay is off.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default: 0
Value of output when the relay is on.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default: 0
Value of output when the relay is off.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default: 0
Output signal.
This output can return a double-precision, floating-point number or an array of double-precision, floating-point numbers.
If input is greater than switch on point, this node returns the value of output when on. If input is less than switch off point, this node returns the value of output when off. If input is within the interval [switch off point, switch on point], this node returns the same output as the previous call to this node.
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application