blockSamplerTrigger
Samples a signal at given time instants.
Extends from ModelicaDEVS.Templates.CDBlockSpecial (Continuous single input - discrete single output block with an additional discrete input).
Information
The SamplerTrigger BlockParameters:
| none |
Description:
Analogous to the SamplerLevel block, the SamplerTrigger block transforms a continuous signal into a DEVS signal. The sampling takes place at discrete time instants which are given by an additional ModelicaDEVS block.
Generated Events (QSS1/QSS2/QSS3 mode):
Neither the event instants nor the event values can be predicted, because the event instants depend on the output of the ModelicaDEVS component connected to the discrete input port, and the event values depend on the continuous input signal.
![]() | ||
![]() |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | method (from CDBlockSpecial) | world.qss | Use QSS1, QSS2 or QSS3 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | inPort (from CDBlockSpecial) | ||
| ModelicaDEVS.Templates.DiscreteOutPort | outPort (from CDBlockSpecial) | ||
| ModelicaDEVS.Templates.DiscreteInPort | DiscreteInPort (from CDBlockSpecial) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Miscellaneous.worldModel | world (from CDBlockSpecial) | ||
| Real[3] | yVal (from CDBlockSpecial) | ||
| Boolean | yEvent (from CDBlockSpecial) |

