Math.Multiplexer

This XCommand implements an 8-fold multiplexer.

Description

Depending on a pivot input the command sets the output to the value of another input or to a constant value. E.g., if the Pivot value is 1 the command writes the ConstantValue1 (if used) to the output or Input1 otherwise.

Inputs

Name

Type

Mandatory/Optional

Description

PivotItemIDM

The item that decides which Input or ConstValue should be set in the Output.

Input1ItemIDOItemIDs of multiplexer inputs to be used according to the Pivotinput.
...


Input8ItemIDOItemIDs of multiplexer inputs to be used according to the Pivotinput.

Outputs

Name

Type

Mandatory/Optional

Description

OutputItemIDM

The itemID that will hold the result.

Parameters

Name

Type

Mandatory/Optional

Description

ConstValue1AnyO

Constant value to be used according to the Pivot input. If used, the respective input is not used.

...


ConstValue8AnyOConstant value to be used according to the Pivot input. If used, the respective input is not used.

Possible trigger types

  • Any

Article applies to the following products:

  • NETx BMS Platform, XLogic Library 1.0.12+
  • NETx Multi Protocol Server, XLogic Library 1.0.12+
  • NETx BMS Server 2.0