MovingSummary Method (PIData object)

                    

 

Not Implemented

Summary is used to retrieve a single summary type over the range, one per interval. The method returns a PIValues collection where each PIValue represents a summary of the selected type over an interval. The Value property is the calculated summary, the TimeStamp is the time at the end of the interval. The Attributes property of the PIValue contains a NamedValue named "Percent Good" with a value which represents the percentage of time the value had legitimate values during the interval. If a Summary fails to calculate for an interval the returned TimeValue.Value may contain VT_ERROR.

 

Syntax

object.MovingSummary StartTime, EndTime, SummaryType, SummaryDuration, SummaryFrequency, CalculationBasis, AsyncStatus

Enabling Operational Intelligence