This documentation is out of date.

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

Difference between revisions of "Switch 2-to-1"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...")
 
Line 16: Line 16:
 
|colspan="2" align="center"|[[Built-in Function Blocks#Switches | Switches]]
 
|colspan="2" align="center"|[[Built-in Function Blocks#Switches | Switches]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Outputs
+
!colspan="2" style="background-color:#AFEEEE;"|Inputs
 
|-
 
|-
 
|style="padding-left:1em;"|Input 0:
 
|style="padding-left:1em;"|Input 0:

Revision as of 09:08, 25 November 2015

Appearance
5 11 1 2.png
Symbol
COM21
Group
Switches
Inputs
Input 0: Integer
Input 1: Integer
Index: Integer
Outputs
Output: Integer
Version CANNY Lab
from 0.6b
Icon

Set the output value equal to the input value, determines the Input # by "Index" value.


Features

If the input "Index" exceeds the number of available inputs, the output value sets to a zero.

Examples

Example 1
Example 2

See also

Switch 8-to-1

Switch 16-to-1

Switch 1-to-2

Switch 1-to-8

Switch 1-to-16

Built-in Function Blocks