EventClock

The unique output of this block generates a regular series of events scheduled by the block parameters Period and Offset.

    EventClock

Library

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

EventClock_0

NameLabelDescriptionData TypeValid 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

NameTypeDescriptionIO TypeNumber

Port 1

activation

output

1

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no