Manual Variant Source
Manual variant routing between multiple inputs.
Description
The Manual Variant Source block is a toggle switch that activates one of the input variants to send data to the output.
A Manual Variant Source block can have two or more input ports and only one output port. Each input port is associated with a variant control. The number of input ports is specified by the Number of choices parameter.
Switching between input selections is done by double-clicking. The block displays the active choice with a line connecting the input to the output. The block propagates the active option at the input directly to the output and does not consider blocks connected to inactive input ports during the simulation.
To open the settings window, right-click on the block and select Parameters. In parameters you can set the number of variants and manually set the number of active variant.
Ports
Input
Port_1 - input signal for the first variant
scalar
| vector
| matrix
Input signal for the first variant. The unit sends the input signal to the output port when a toggle switch is connected to this port.
Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, Int128
, UInt8
, UInt16
, UInt32
, UInt64
, UInt128
, Fixed-point
, Bool
.
Port_n - input signal for the n-th variant
scalar
| vector
| matrix
Input signal for the nth variant. The unit sends the input signal to the output port when a toggle switch is connected to that port.
Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, Int128
, UInt8
, UInt16
, UInt32
, UInt64
, UInt128
, Fixed-point
, Bool
.