Skip to main content

Delay

The Delay block temporarily postpones an input from reaching the next block in the chain. - Think of the Delay block as user-definable latency.

Delays are an integral part of loop logic to stop your Ctrl Engine's processes from becoming overloaded; they can be used to allow time to pass between an input being triggered and an output being emitted from a Process.

  • The input of the block receives a value.
  • The block sends a value out of the Started output node.
  • The block delays the data based on the fixed time or user-defined variable defined in the Delay Time.
  • By sending a value into the Cancel input node before the delay time has completed, the delayed value will not be emitted from the block’s output.
  • Once the Delay value has been met, the input data will be sent out of the triggered variable.

Inputs

  • Start – All data types.
  • Cancel - Any data (read as a trigger when anything is received).

Outputs

  • Triggered – This sends the data that flowed into the start block once the delay time has elapsed.
  • Started – This sends an output as soon as the internal delay timer has started.

Delay Time (ms)

  • Delay time is defined in milliseconds; either enter a numerical value or use the "$" symbol to reference a global variable defined within your workspace in the settings menu.