onError - event of object PmTrend

The event fires on the object error. 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 PROMOTIC object where the event rises.
pEvent(Object) A referrence 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
PROMOTIC 9.0.0 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