Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onTick - event of object PmTimer

Description:
The event fires after every timer tick (after the expiration of the defined period).
Parameters:
pMe(Object) Reference to the Promotic object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.

The pEvent parameter is not used here because this event does not need any additional information.

Example:
After each timer tick the "Temperature3" variable value in the /Data1 object (PmData type) is increased by one.
Dim oVar
Set oVar = pMe.Pm("/Data1/#vars/Temperature3")
oVar.Value = oVar.Value + 1
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice