VARIABLE_DELAY — Variable delay

Block Screenshot




The Variable Transport Delay block can be used to simulate a variable time delay. The block might be used to model a system with a pipe where the speed of a motor pumping fluid in the pipe is variable. The block accepts two inputs: the first input is the signal that passes through the block; the second input is the time delay.

Dialog box

  • Max delay

    It defines the largest value the time delay input can have.The value cannot be negative.

    Properties : Type 'vec' of size 1.

  • initial input

    The output generated by the block until the simulation time first exceeds the time delay input.

    Properties : Type 'vec' of size 1.

  • Buffer size

    The number of points the block can store.

    Properties : Type 'vec' of size 1.

Default properties

  • always active: yes

  • direct-feedthrough: no

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

    - port 2 : size [1,1] / type 1

  • regular outputs:

    - port 1 : size [1,1] / type 1

  • number/sizes of activation inputs: 0

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: variable_delay

Interfacing function

  • SCI/modules/scicos_blocks/macros/Linear/VARIABLE_DELAY.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/variable_delay.c (Type 4)


Ramine Nikoukhah - INRIA