EventDelay

This block implements an event channel. The event timing is specified by the value on the first block input port. This value corresponds to the delay after which the event is to be fired. The value associated with the event is read on the second input and placed on the output when the block is activated through its second input activation port.

    EventDelay

Library

ActivationOperations

Description

When activated, the EvenDelay block programs on its output activation port an event with a delay. The value of the delay is a block parameter. When the delay value is equal to or greater than the input event period, the output event is reprogrammed and will remove the already delayed event. In this case a warning is issued. To avoid such a warning, include the EventDelayChannel in your diagram.

Parameters

EventDelay_0

NameLabelDescriptionData TypeValid Values

delay

Delay

Real scalar value. Time delay between input and output event.

Scalar

Ports

NameTypeDescriptionIO TypeNumber

Port 1

activation

output

1

Port 2

activation

input

1

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no