Analog.SelectorSwitch

Provides a building block to switch between two input values.

Description

Inputs Input1 and Input2 define the values to be conditionally written to the Output.
If Switch is set to false, Input1 will be written to Output.
If Switch is set to true, Input2 will be written to Output.
If Disable is set to true, 0 will be written to Output.

Inputs

  • Input1 (ANY): Input1 to write if the Switch is set to false.
  • Input2 (ANY): Input2 to write if the Switch is set to true.
  • Disable (ANY): Input to disable the switch and set the Output to 0.

Outputs

  • Output (ItemID): Result of the operation. Must be of type boolean.

 Parameters

  • Switch (ANY): Parameter to switch between Input1 and Input2.

Possible trigger types

  • All