In This Topic
Cyclic Repetition
General
It is possible to let certain tasks be executed at cyclic intervals. To do this
- an EbsScript-Unit must be implemented with a function ”onTimer”
- this unit can be stored either internally (within the model) or externally (on the hard disk)
- in case of internal storage the unit is inserted in the list of ”EbsScript Standard Units” under ”Model-Settings” / ”EbsScript”
- in case of external storage a path is set to this file under ”General Settings”/ ”Paths”, ”EbsScript Standard Unit Files”
- under ”Model-Settings” / ”EbsScript” the box ”Call onTimer Procedure” is checked and the cycle time is set (in milliseconds)
Example
Example of an implementation of onTimer:
procedure onTimer;
begin
messagebox ("onTimer-Procedure called");
end;