Traffic / Delay
Block Name: Delay

Code File Location: VisualSim/actor/lib/DLY

Block Overview

  o  Delay the incoming Data Structure or token by a variable time period.  

Description

This block delays the incoming Data Structure by the value specified in the Delay Parameter. When the Delay time has completed, the incoming data structure is sent to the output port. Any number of Data Structures can be simultaneously delayed by using this block. The order of the Data Structures on the output port will be based on the arriving Time (TNOW) plus the delay associated with that Data Structure. So, the input order of data structures can be different from the output order.

Refer Delay demo model.


Parameter Explanation Example Type 
Delay_Value The Delay_Value can be a parameter (No quotes required), numerical value-Integer, Long, Double (No quotes required), memory name-Local or Global (quotes required) or incoming Data Structure field name (quotes required).  1.0 or "DELTA"Double

PortExplanation Type
inputReceives a token or any data type
Any type or data structure
output
Sends out the token after the delay
Any type or data structure