Promotic

EndNetPutData - event of the AtouchX object

Description:
The event is triggered after the end of writing the database variable.
The event notifies the end of writing the database variable or matrix. It presents the user with the WID of the database variable being written, the result of the communication and the user-defined Param parameter.
Parameters:
WID(Long) The WID of the database variable that was written. The WID value corresponds to the specified value (pure WID or WID including the station number) in the NetPutData... methods.
Result(Long) Communication result
Param(Long) The value entered in the NetPuttData... methods.
Example:
JavaScriptVBScriptSelect and copy to clipboard

if (Result < 1024)
{
Pm.Debug("AtouchX.EndNetPutData OK");
}
else
{
Pm.Debug("AtouchX.EndNetPutData Error !!");
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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