NetReset - method of the AtouchX object

Rejects the ongoing communication request.
After calling one of the Net... communication methods, asynchronous reading or writing occurs and after its termination the corresponding EndNet... event is triggered. Using the NetReset method, it is possible to perform the so-called request discard, which means that the event triggering for the discarded request is cancelled. Thus, the application is not passed the value of the communication result or possibly read values, although physically the communication takes place.
The NetReset method discards such requests that were specified by Net... methods with the same Param parameter. In practice, this means that communication requests having the same Param parameter are always discarded at once. If independent discarding is required, then the requests must have different Param parameters.
The value of the Param parameter 0 (zero) causes all communication requests to be dropped.
Integer NetReset(Long Param)
Param(Long) The value of the parameter (previously specified by the Net... communication methods) according to which the request is rejected.
Return values:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nStation = 2;
var nParam = 0;
var nState = oATC.NetReset(nParam);
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

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