SSW – Simple switch

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SSW block selects one of two input signals u1 and u2 with respect to the binary input SW. The selected input is copied to the output y. If SW = off (SW = on), then the selected signal is u1 (u2).

Inputs

u1

First analog input of the block

Double (F64)

u2

Second analog input of the block

Double (F64)

SW

Signal selector

Bool

off ..

The u1 signal is selected, y = u1

on ...

The u2 signal is selected, y = u2

Output

y

Analog output of the block

Double (F64)

2022 © REX Controls s.r.o., www.rexygen.com