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.
Library
Activate/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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
delay | Delay | Real scalar value. Time delay between input and output event. | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | activation | output | 1 | |
Port 2 | activation | input | 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 |