Period - property of the PmaTimer object

Timer period in seconds.
Single Period
Property access for read and write. The default value of this property is defined in the "Period [s]" configurator of this object.
This is the time after which the onTick event is triggered.

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.
See also:
- PmaTimer.LastTick (property)
JavaScriptVBScriptSelect and copy to clipboard

var oTimer = pMe.Pm("/Timer");

var nPeriod = oTimer.Period;   // Reading from the property
oTimer.Period = 3;   // Writing into the property
PROMOTIC 9.0.25 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.