Table of Contents

Delay

Block Group: Logic
Icon:Delay block icon

Accepts an input value, waits a predetermined amount of time, and then returns the input as output.

For information on using dataflow blocks, see Dataflow.


Input/Output Properties

These properties can take input and give output.

invoke immediately sends all pending (delayed) values to their outputs.

delay sets the length of the delay, in seconds. The default is 1.

input n holds a value to deliver to output n after a delay. The block has one input/output pair by default; click the plus sign to add more pairs. Each pair is delayed separately.

mode specifies the behavior of this block in cases where input changes during a delay. The default is delay.


Output Properties

These properties can give output. They cannot take input.

output n returns the value of input n after the delay.


Model

This is a basic use of the block.

Dataflow ModelDescription
Delay dataflow modelDelay dataflow modelAfter a delay of 2 seconds, the value "100" is passed from input to output.