DbSetDatagram - method of the AtouchX object

Sets up datagram monitoring.
The method sets the monitoring of incoming datagrams in the variable specified by WID. From the calling of the DbSetDatagram method, each incoming datagram will trigger the DbDatagram event. until it is cancelled by the DbResetDatagram method or the object is terminated.
Integer DbSetDatagram(Long WID, Long Param)
WID(Long) WID of the database variable that is used as the receiving datagram variable.
Param(Long) The value that is passed unchanged to the datagram event.
Return value:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nWID = 2005;
var nState = oATC.DbSetDatagram(nWID, 85);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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