Promotic

LastErr - property of the PmaCommGroup object

Description:
Error number of the last of the transmission komunikační of the message.
Syntax:
Long LastErr
Note:
Property access for read and write.
 
For values see the description of the PmaCommMsg.onEndOfTransfer event. 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 PmaCommGroup.GetCount or PmaComm.GetCount methods (it is usefull when detecting communication problems).
See also:
- PmaCommMsg.LastErr (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oCommGroup = pMe.Pm("/Comm/Group1");
var nLastErr = oCommGroup.LastErr;

History:
Pm8.00.00: Created
PROMOTIC 9.0.24 SCADA system documentation MICROSYS, spol. s r.o.

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