DEL – Delay with initialization

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio u R1 y0 y RDY DEL

Function Description
The DEL block implements a delay of the input signal u. The signal is shifted n samples backwards, i.e.

yk = ukn.

The corresponding time delay is n TS, where TS is the block trigger period.

If the last n samples are not yet known, the output is set to

yk = y0,

where y0 is the initialization input signal. This can happen after restarting the control system or after resetting the block (R1: off on off) and it is indicated by the output RDY = off.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

R1

Block reset

Bool

y0

Initial output value

Double (F64)

Parameter

n

Delay [samples]   0  10000000 10

Long (I32)

nmax

Allocated size of array   10  10000000 100

Long (I32)

Output

y

Delayed input signal

Double (F64)

RDY

Outputs valid (ready flag)

Bool

2024 © REX Controls s.r.o., www.rexygen.com