onError - event of the PmaTrendGroup object

The event is triggered on the error in the object. There is a numeric code of the error in the Code parameter, and a text description of the error in the CodeText parameter.
pMe(Object) Reference to the PmaTrendGroup object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
pEvent.Code - (Long) Numeric code of the error
0 - No error
33 - General error on the trend server
60 - Connection to the trend archive not established. Records are not stored on the disk.
1000 - Consistency tests of the trend archive failed.
1100 - Adding new record into the trend archive failed.
pEvent.CodeText - (String) Text description of the error
JavaScriptVBScriptSelect and copy to clipboard

Pm.Debug("Error trend: " + pEvent.CodeText);
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