blockUntil

Output is true, until first rising edge of input

Information

Syntax

condition = Until(u=...).y;

Description

Until the first rising edge of Boolean input u, output y = true. Afterwards, y = false. If input u = true at initialization, y = false always.

Example

This block is demonstrated with the following example:

results in

simulation result

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputy= true, after first rising edge of u

Components

TypeNameDefaultDescription
BooleanuBoolean input