LastErr - property of the PmaCommMsg object

Error number of the last message transfer.
Long LastErr
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:
JavaScriptVBScriptSelect and copy to clipboard

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

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