Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LastErr - property of the PmgTrendViewer object

Description:
Numeric code of the last risen error.
Syntax:
Long LastErr
Values:
0 - No error
30 - Wrong version. The version of the client and the server doesn't correspond to each other.
33 - Unknown error
35 - Error in drawing the Pmg object
60 - Connection error to the server, probably the oTrend.Connect call failed
61 - Server doesn't respond
62 - Server has no data that were asked for, it is necessary to check the address of requested data
66 - Processing the reponse from the server failed
Note:
Property access for read only.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nErr = oTView.LastErr;
if (nErr)
Pm.Debug(oTView.LastErrText);
PROMOTIC 9.0.13 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