Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Period - property of the PmaTimer object

Description:
Timer period in seconds.
Syntax:
Single Period
Note:
Property access for read and write. The preset 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 Single 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)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTimer = pMe.Pm("/Timer");
var nPeriod = oTimer.Period;
//or
oTimer.Period = 3;
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice