Error shown when invalid field name is used as a delay value in the delay block.

Error shown when invalid field name is used as a delay value in the delay block.

Delay block accepts the datastructure field value as a delay value,
the datastructure field must exist and must be valid (e.g. integer, double values).
If the datastructure field does not exist and is used as a delay value, the following error will be generated


VisualSim.kernel.util.IllegalActionException: Field not found in RecordToken.
Field Name: Delay
Suggest Listen to Input Port, Check for Field Name
  in .Delay_Invalid_Field_Name.Delay
at VisualSim.actor.lib.DLY.fire(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fireVisualSim(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fire(Unknown Source)
at VisualSim.actor.CompositeActor.fire(Unknown Source)
at VisualSim.actor.Manager.iterate(Unknown Source)
at VisualSim.actor.Manager.execute(Unknown Source)
at VisualSim.actor.Manager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
at VisualSim.kernel.util.VisualSimThread.run(Unknown Source)

Solution:
In this case, an invalid field named "delay" is used as a delay block, which causes this error.
Check if the datastructure field is present, and delay value is valid