Promotic

NetGetData - method of the AtouchX object

Description:
Reads the entire database variable.
The method reads the content of the whole database variable. The reading is asynchronous, after the reading is finished the EndNetGetData event is triggered, which reports the result of the communication and the read data. The Param value is also passed to the event, which is used by the user to self-identify.
Syntax:
Integer NetGetData(Long WID, Long Param)
Parameters:
WID(Long) WID of the database variable for reading.
Param(Long) The value that is passed unchanged to the end reading event.
Return value:
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

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