Switch 1-to-8

From CANNY Wiki
Jump to: navigation, search
Appearance
5 11 5 2.png
Symbol
COM18
Group
Switches
Inputs
Input: Integer
Index: Integer
Outputs
Output 0...7: 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-2

Switch 1-to-16

Built-in Function Blocks