Select Between
easy
Selects and routes one of two REAL inputs to the output based on a boolean selector switch.
What it teaches
Pick one of two inputs based on a switch. When the switch is off, the output follows input A; when it’s on, the output follows input B. The building block behind every manual/auto and remote/local selector.
Parameters
| Tag | Direction | Type | Default | Description |
|---|---|---|---|---|
| In_Select | Input | BOOL | 0 | Selector switch; 0 = select A, 1 = select B |
| In_A | Input | REAL | 0 | First input value |
| In_B | Input | REAL | 0 | Second input value |
| Out_Selected | Output | REAL | 0 | Routed value |
Required behavior
- Out_Selected equals In_A when In_Select is 0.
- Out_Selected equals In_B when In_Select is 1.