blockTriggeredIntegerSampler
Triggered sampling of continuous signals
Extends from Modelica.Blocks.Interfaces.DiscreteBlockIcon.
Information
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | y_start | 0 | initial value of output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerInput | u | Connector with a Integer input signal | |
| Modelica.Blocks.Interfaces.IntegerOutput | y | Connector with a Integer output signal | |
| Modelica.Blocks.Interfaces.BooleanInput | trigger |