The Selection folder in the control block palette contains Command Hierarchy, MUX, and Translation blocks that perform multiplexing for multiple inputs and one mode input, producing a single output. Based on the current mode assigned to each input, the selector chooses which input to pass through to the output. The Logic View allows you to add multiple connections to the output of the block. See Configuring the MUX Block, Configuring the Command Hierarchy Block, and Configuring the Translation Blocks in the Configuring a System section.
Type |
Description |
Inputs 1 |
Outputs1 |
---|---|---|---|
Boolean to Enum Translation 2 |
Provides a pre-configured Command Hierarchy block with a single Boolean input translated to an Enumeration (Enum) output. |
I1 (Boolean) |
State (Enum) 3 |
Command Hierarchy (Boolean Output) |
Provides truth table evaluation capability to convert or resolve multiple inputs into a single output State of Boolean type. |
I1 (Enum) I2 (Boolean) |
State (Boolean)3 |
Command Hierarchy (Enum Output) |
Provides truth table evaluation capability to convert or resolve multiple inputs into a single output State of Enumeration (Enum) type. |
I1 (Enum) I2 (Boolean) |
State (Enum)3 |
Enum to Boolean Translation2 |
Provides a pre-configured Command Hierarchy block with a single Enumeration (Enum) input translated to a Boolean output. |
I1 (Enum) |
State (Boolean)3 |
MUX (Boolean IO, Boolean Mode) |
Provides source-switching operation. A Multiplexor is equivalent to a switch, which directs one of the Inputs, based on the Mode, to the Present Value. This block has Boolean inputs and a Boolean mode. See MUX. |
Mode (Boolean) I1 (Boolean) I2 (Boolean) |
Present Value (Boolean)
4
|
MUX (Boolean IO, Enum Mode) |
Same as previous, except this block has Boolean inputs and an Enumeration (Enum) mode. See MUX. |
Mode (Enum) I1 (Boolean) I2 (Boolean) |
Present Value (Boolean)4 |
MUX (Enum IO, Boolean Mode) |
Same as previous, except this block has Enumeration (Enum) inputs and a Boolean mode. See MUX. |
Mode (Boolean) I1 (Enum) I2 (Enum) |
Present Value (Enum)4 |
MUX (Enum IO, Enum Mode) |
Same as previous, except this block has Enumeration (Enum) inputs and an Enumeration mode. See MUX. |
Mode (Enum) I1 (Enum) I2 (Enum) |
Present Value (Enum)4 |
MUX (Float IO, Boolean Mode) |
Same as previous, except this block has Floating (Float) inputs and a Boolean mode. See MUX. |
Mode (Boolean) I1 (Float) I2 (Float) |
Present Value (Float)4 |
MUX (Float IO, Enum Mode) |
Same as previous, except this block has Floating (Float) inputs and an Enumeration (Enum) mode. See MUX. |
Mode (Enum) I1 (Float) I2 (Float) |
Present Value (Float)4 |
- Unreliable when the Mode input is unreliable or the selected input is unreliable.
- Output Cannot Be Determined when the configuration of the block is under-specified and does not meet the following conditions:
- Every member of the Mode Enum Set is associated with at most one Input.
- Every Input is associated with at least one member of the Mode Enum Set.
- If every member of the Mode Enum Set is not associated with an Input, then you must define a Default Input. If every member is associated with an Input, the Default Input should be undefined (0).