TriggeredSamplerTriggered sampling of continuous signals |
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.
y_start |
Value: 0 Type: Real Description: Initial value of output signal |
---|
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 |
Modelica.Clocked.Examples.Elementary.RealSignals Example of an AssignClockToTriggerHold block for Real signals |