onError - event of the PmgTrendViewer object

The event is triggered if error occured in the viewer. For example, the received data are inconsistent.
pMe(Object) Reference to the PmgTrendViewer object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
pEvent.Code - (Long) [for reading] Numerical error code. See LastErr property.
pEvent.Text - (Long) [for reading] Error text description. See LastErrText property.
This event is not functional yet in the Web panel.
JavaScriptVBScriptSelect and copy to clipboard

Pm.Debug("Trend error: " + pEvent.Text);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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