Scicos Block
fr - eng

##
Synchronous block If-Then-Else

### Contents

- Synchronous block If-Then-Else
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Authors

### Palette

- Branching - Branching palette

### Description

One event is generated on one of the output event ports when an input event arrives. Depending on the sign of the regular input, the event is generated on the first or second output. This is a Synchro block, i.e., input and output event are synchronized.

### Dialog box

- Inherit
  If no, then it inherits the event from event input port, elseif yes, then event is activated by regular input port.
  Properties : Type 'vec' of size 1.

- zero-crossing
  Select to enable zero crossing detection.
  Properties : Type 'vec' of size 1.

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: yes
- mode: yes
- regular inputs:
  - port 1 : size [1,1] / type -1
- number/sizes of activation inputs: 1
- number/sizes of activation outputs: 2
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: ifthel

### Interfacing function

- SCI/macros/scicos_blocks/Events/IFTHEL_f.sci [view code]

### Authors

Ramine Nikoukhah INRIA