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 takes place asynchronously, after the reading is finished the EndNetGetData event is triggered, which reports the result of the communication and the read data. The event is also passed the Param value, which is used by the user to self-identify.
Syntax:
Integer NetGetData(Long WID, Long Param)
Parameters:
WID(Long) WID of the database variable to be read.
Param(Long) The value that is passed unchanged to the end reading event.
Return values:
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.21 SCADA system documentation - MICROSYS, spol. s r.o.

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