EventClock
The unique output of this block generates a regular series of events scheduled by the block parameters Period and Offset.
Library
Activate/ActivationOperations
Description
The EventClock generates regular events with a frequency equal to 1 / Period, starting after a user-defined offset.
The event generated by this block is asynchronous with events by other block, and it's not considered periodic. If connected with ExtractPeriod, an error will be raised.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
period | Period | Period of the clock (time bewteen two consecutive events). Real scalar value. Default is 0.1. | Scalar | |
init | First event time offset | Time offset for the first event. Real scalar value. Default is 0. | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | activation | output | 1 |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |