Promotic

LastTextErr - property of the PmaCommGroup object

Description:
Text error description of last communication message transfer.
Syntax:
String LastTextErr
Note:
Property access for read only.
 
The property can be used, for example, in communication alarms if an error occurs during the transfer. The LastErr property serves for getting the error number of the last message transfer. Cumulative error count can be detected by the PmaCommGroup.GetCount or PmaComm.GetCount methods (it is usefull when detecting communication problems).
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oCommGroup = pMe.Pm("/Comm/Group1");
var sLastErr = oCommGroup.LastTextErr;

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

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