Promotic

onError - event of the PmaTrendGroup object

Description:
The event is triggered on the error in the object.
Parameters:
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) [for reading] 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) [for reading] Text description of the error
Example:
JavaScriptVBScriptSelect and copy to clipboard

Pm.Debug("Error trend: " + pEvent.CodeText);
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.