onTick - event of the PmaTimer object
Description:
The event is triggered after every timer tick (after the expiration of the defined period).
Parameters:
pMe | (Object) Reference to the PmaTimer object where the event rises. |
pEvent | (Object) Reference to an 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 (of the
PmaData type) is increased by one.
JavaScriptVBScriptSelect and copy to clipboard
var oVar = pMe.Pm("/Data1/#vars/Temperature3");
oVar.Value += 1;
Dim oVar
Set oVar = pMe.Pm("/Data1/#vars/Temperature3")
oVar.Value = oVar.Value + 1