Switch 1-to-2

From CANNY Wiki
Jump to: navigation, search
Appearance
5 11 4 2.png
Symbol
COM12
Group
Switches
Inputs
Input: Integer
Index: Integer
Outputs
Output 0: Integer
Output 1: Integer
Version CANNY Lab
from 0.6b
Icon

Sets the output, determined by "Index" value, a value equal to the "Input" value, the rest of the output is set to zero.


Features[edit]

If the input "Index" exceeds the number of available outputs, all of the output values sets to a zero.

Examples[edit]

Example 1
Example 2

See also[edit]

Switch 2-to-1

Switch 8-to-1

Switch 16-to-1

Switch 1-to-8

Switch 1-to-16

Built-in Function Blocks