Update cookies preferences
Promotic

Count - method of the tvPoints object

Description:
Returns the number of values in the buffer of this object according to of the sFilter parameter.
Syntax:
Long Count(String sFilter)
Parameters:
sFilter(String) Filter of values that are to be included into the processing.
"all" - All values in the buffer.
"visible" - All values that are in the time of calling the method in the visible part of the buffer.
Note:
This method is also functional in Web panels.
See also:
- tvTrend.Points (property)
- tvPoints.Max (method)
- tvPoints.Avg (method)
- tvPoints.Min (method)
- tvPoints.Sum (method)
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe;
var oPoints = oTView.Trends("t1").Points;
var nCount = oPoints.Count("visible");
Example2:
See the example in the Avg method.
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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