Point.Cancel (method)

Syntax Point.Cancel
Description To cancel the currently active OnChange , OnAlarm , OnTimed or OnAlarmAck request.
Example
Sub Main()
   Dim t as new Point
   t.Id = "TIME"
   ' Read the next two values of the point
   t.OnChange
   for i = 1 to 2
      t.GetNext
   next I
   ' Cancel the onchange request.
   t.Cancel
   ' Get the point value every three seconds
   t.OnTimed 3
   for i = 1 to 2
      t.GetNext
   next I
End Sub
See Also Point.OnChange (method), Point.OnTimed (method), Point.OnAlarm (method), Point.OnAlarmAck (method)