TriggeredSampler

Triggered sampling of continuous signals

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Samples the continuous input signal whenever the trigger input signal is rising (i.e., trigger changes from false to true) and provides the sampled input signal as output. Before the first sampling, the output signal is equal to the initial value defined via parameter y0.

Parameters (1)

y_start

Value: 0

Type: Real

Description: Initial value of output signal

Connectors (3)

u

Type: RealInput

Description: Connector with a Real input signal

y

Type: RealOutput

Description: Connector with a Real output signal

trigger

Type: BooleanInput

Description: Trigger input

Used in Examples (1)

AssignClockToTriggerHold

Modelica.Clocked.Examples.Elementary.RealSignals

Example of an AssignClockToTriggerHold block for Real signals