Update cookies preferences
Promotic

LastErr - property of the PmaCommMsg object

Description:
Error number of the last message transfer.
Syntax:
Long LastErr
Note:
Property access for read and write.
 
Values see the onEndOfTransfer event of this object.
For getting the error text description of the last message transfer serves the LastTextErr property of this object.
Cumulative error count can be detected by the PmaCommMsg.GetCount or PmaComm.GetCount methods (it is usefull when detecting communication problems).
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oCommMsg = pMe.Pm("/Comm/mr");
var nLastErr = oCommMsg.LastErr;
PROMOTIC 9.0.29 SCADA system documentation MICROSYS, spol. s r.o.

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