Table Of Contents

Relay (G Dataflow)

Last Modified: March 31, 2017

Returns one of two values based on the value of the input signal.

connector_pane_image
datatype_icon

reset

A Boolean or a Boolean array that determines whether to turn off the relay .

True Turns the relay off.
False Does not turn the relay off.

The relay is off on the first call of this node. The relay remains in the off state until the value of input exceeds the value of switch on point.

Default: False

datatype_icon

input

Input signal.

This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

datatype_icon

switch on point

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

datatype_icon

switch off point

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

datatype_icon

output when on

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

datatype_icon

output when off

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

datatype_icon

output

Output signal.

This output can return a double-precision, floating-point number or an array of double-precision, floating-point numbers.

How This Node Determines the Output Value

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


Recently Viewed Topics