Switch case#

block

Block appearance in REPEAT VISION#

 The Switch case block switches signals under the condition applied to the first control input, according to the expression (1):

(1)#\[ y=x_i \]

where \(𝑖\) – integer control signal of the first port.

1.  Properties#

Property

Default value

Description

Units of measurement

Number of cases

2

-

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Control port

Input

-

-

Automation

Input signal 0

Input

-

-

Automation

Input signal 1

Input

-

-

Automation

Output signal

Output

-

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation