Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LastTextErr - property of the PmaCommMsg 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 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 sLastErr = oCommMsg.LastTextErr;
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice