Delay

Description
Delays the input signal for a specified time.
A sampling time must be specified to pre-allocate the buffer of points as shown below:

Important
A sampling time must be specified for the Delay model to work. Otherwise, an error is thrown.
Recommendation
It is recommended that the delay is a multiple of the sample time. Otherwise, the actual delay will be larger than the delay entered by the user (the next multiple of the sampling time).
Library
Control > Discrete
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| DelayLength | Delay Length [s] | DoubleParameter | Delay Length [s] |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input |
| Out | Out | ControlOut | Output |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |