DbResetDatagram - method of the AtouchX object
Description:
Cancels alarm monitoring.
The method cancels monitoring of incoming datagrams in the variable specified by
WID.
After calling this method, the
DbDatagram event for the cancelled variables will stop being triggered.
Syntax:
Integer DbResetDatagram(Long WID)
Parameters:
WID | (Long) The WID of the database variable that was used as the receiving datagram variable. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oATC = pMe.Pm("/AtouchApp").Acx;
var nWID = 2005;
var nState = oATC.DbResetDatagram(nWID);
Dim oATC, nWID, nState
Set oATC = pMe.Pm("/AtouchApp").Acx
nWID = 2005
nState = oATC.DbResetDatagram(nWID)