Promotic

GetValueArray - method of the tvPoints object

Description:
Returns an array with the values of data points from the buffer according to the sFilter parameter.
Syntax:
Array GetValueArray(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.
Return value:
PmArray object for JavaScript or Array data type for VBScript.
Note:
This method is also functional in Web panels.
See also:
- tvPoints.Max (method)
- tvPoints.Count (method)
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe;
var oPoints = oTView.Trends("t1").Points;
var arr = oPoints.GetValueArray("visible");
Example2:
See the example in the description of the tvPoints - Deatiled object description object

History:
Pm9.00.06: Fixed bug: This was not functional in the Web panel.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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