Promotic

GetStateText - method of the PmgTrendViewer object

Description:
Returns the current state of the viewer in text form.
Syntax:
String GetStateText()
Return values:
Returns the text:
empty string - normal state
"Data reading..." - if the viewer is currently waiting for the data.
"Maximum number of points reached" - if the range of the time axis was extended so that not all required data could be read in this range. See: PointsMaxVisibleCount.
Note:
This method is not functional yet in Web panels.
See also:
- tvTrend (object)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe;
if (oTView.GetStateText() != "")
{
Pm.Debug(oTView.GetStateText());
}
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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