Triggered Sampler

Triggered sampling of continuous signals

 Description The Triggered Sampler component samples the continuous input signal whenever the trigger input signal is rising (that is, 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 ${y}_{0}$. The Signal Size parameter assigns the dimension of the input and output connectors.

Connections

 Name Description Modelica ID $u$ Real input signal u $y$ Real output signal y $\mathrm{trigger}$ Boolean input trigger trigger

Parameters

 Name Default Units Description Modelica ID Signal Size $1$ Dimension of input and output signals signalSize ${y}_{0}$ $0$ Initial value of each output signal y_start

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.