This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

Switch 1-to-16

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

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

Examples

5 11 6 3.png

See also

Switch 2-to-1

Switch 8-to-1

Switch 16-to-1

Switch 1-to-2

Switch 1-to-8

Built-in Function Blocks