Promotic

Points - property of the tvTrend object

Description:
Object of the tvPoints type - a set of read points with time stamps whose development is drawn.
Syntax:
Object Points
Note:
Property access for read only.
 
This property is also functional in Web panels.
Example:
The example calculates an average from all points of the trend "t1" in the visible part of the viewer.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe;
var oPoints = oTView.Trends("t1").Points;
var nAverage = oPoints.Avg("visible");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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