GetTimeArray - method of the tvPoints object
Description:
Returns an array with the time of data points from the buffer according to the sFilter parameter.
Syntax:
Array GetTimeArray(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.
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe;
var oPoints = oTView.Trends("t1").Points;
var arr = oPoints.GetTimeArray("visible");
Dim oTView, oPoints, arr
Set oTView = pMe
Set oPoints = oTView.Trends("t1").Points
arr = oPoints.GetTimeArray("visible")