LastTextErr - property of the PmaCommGroup object
Description:
Text error description of the last 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).
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCommGroup = pMe.Pm("/Comm/Group1");
var sLastErr = oCommGroup.LastTextErr;
Dim oCommGroup
Set oCommGroup = pMe.Pm("/Comm/Group1")
Dim sLastErr
sLastErr = oCommGroup.LastTextErr