The object watches the time period expiration. The onTick
event is triggered with the certain period. The object is suitable first of all for periodic execution of the script or its execution in the daytime. It is possible to perform event larger functionality as for example the late execution of the script (see StartEx
method). It is better to perform the more common way of time control by the PmaSequencer
No other Pma
objects can be created in this object.
This object can be created in objects: PmaRoot
. Multiple objects of this type can be created in such objects.
Periods of triggering the onTick
event can be changed on an ongoing basis (see Period
property) or disabled on an ongoing basis (see Enabled
The period is entered in seconds but as it is of the Double
type, it is possible to enter the time unit smaller than 1 second. The object is linked to the computer time that "ticks" with the maximum period of 10 ms (i.e. 0.01 second). But practically such short periods cannot be used in this object. It is also recommended not to use very small value because it puts higher performance load in the application.