/
Math.Multiplexer
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 |
---|---|---|---|
Pivot | ItemID | M | The item that decides which Input or ConstValue should be set in the Output. |
Input1 | ItemID | O | ItemIDs of multiplexer inputs to be used according to the Pivotinput. |
... | |||
Input8 | ItemID | O | ItemIDs of multiplexer inputs to be used according to the Pivotinput. |
Outputs
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
Output | ItemID | M | The itemID that will hold the result. |
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
ConstValue1 | Any | O | Constant value to be used according to the Pivot input. If used, the respective input is not used. |
... | |||
ConstValue8 | Any | O | Constant 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
, multiple selections available,
Related content
Multiplexer
Multiplexer
More like this
Logic.XOR
Logic.XOR
More like this
Math.Mult
Math.Mult
More like this
Mult
More like this
Item.TriggerValues
Item.TriggerValues
More like this
Logic.Or
Logic.Or
More like this