Switches between the output when on and output when off inputs. When the relay is on, it remains on until input is less than switch off point. When the relay is off, it remains off until input is greater than switch on point. The relay is off by default. The largest data type you wire to any input determines the polymorphic instance LabVIEW uses.
Use the pull-down menu to select an instance of this VI.

![]() |
initialize, when TRUE, turns the relay off unless input is greater than switch on point, in which case output equals output when on. Otherwise, output equals output when off. |
![]() |
output when on is the value of output when the relay is on. |
![]() |
switch on point is the input threshold above which the relay is on. |
![]() |
input is the data point the VI processes. |
![]() |
switch off point is the input threshold below which the relay is off. |
![]() |
output when off is the value of output when the relay is off. |
![]() |
output is the processed data.
output = output when on for input > switch on point andoutput = output when off for input < switch off point For input values such that switch off point <= input <= switch on point, output is the same as the previous call to the VI. |

![]() |
initialize, when TRUE, turns the relay off unless input is greater than switch on point, in which case output equals output when on. Otherwise, output equals output when off. |
![]() |
output when on is the value of output when the relay is on. |
![]() |
switch on point is the input threshold above which the relay is on. |
![]() |
input is the data point the VI processes. |
![]() |
switch off point is the input threshold below which the relay is off. |
![]() |
output when off is the value of output when the relay is off. |
![]() |
output is the processed data.
output = output when on for input > switch on point andoutput = output when off for input < switch off point For input values such that switch off point <= input <= switch on point, output is the same as the previous call to the VI. |

![]() |
initialize, when TRUE, turns the relay off unless input is greater than switch on point, in which case output equals output when on. Otherwise, output equals output when off. |
![]() |
output when on is the value of output when the relay is on. |
![]() |
switch on point is the input threshold above which the relay is on. |
![]() |
input is the data point the VI processes. |
![]() |
switch off point is the input threshold below which the relay is off. |
![]() |
output when off is the value of output when the relay is off. |
![]() |
output is the processed data.
output = output when on for input > switch on point andoutput = output when off for input < switch off point For input values such that switch off point <= input <= switch on point, output is the same as the previous call to the VI. |