LastTick - property of the PmaTimer object

Time of last triggering of the onTick event.
Date LastTick
Property access for read only.
If the timer did not trigger the onTick event since application launch not even once, then the property returns the time value 0. The last triggering time and timer period also specifies the next execution.
See also:
- PmaTimer.Period (property)
- PmaTimer.Enabled (property)
Calculation of next execution based on the last triggering time and timer repeat period (presuming the timer is enabled and has been launched at least once).
JavaScriptVBScriptSelect and copy to clipboard

var oTimer = pMe.Pm("/TestTimer");
var tNextTick = oTimer.LastTick + oTimer.Period / 86400;

Pm8.03.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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