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
...
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
...