SampleTrigger
Generate sample trigger signal
![]()
Library
Modelica/Blocks/Sources
Description
The Boolean output y is a trigger signal where the output y is only true at sample times (defined by parameter period) and is otherwise false.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_period | period | Sample period | Scalar | |
mo_startTime | startTime | Time instant of first sample trigger | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
y | implicit | Connector of Boolean output signal | output | 1 |