AnsweredAssumed Answered

FilteredSummaries to find substituded events on a pointlist

Question asked by Mahyar on Feb 3, 2015
Latest reply on Apr 23, 2015 by pthivierge

Hi,

 

I'm trying to find a way to find the whole substituted events that are in a List of PIPoints.

The problem is that the Performance Equation "IsSet" which seems to be the right one gets a TAGNAME which should not been given as it is related to the list of PIPoints.

 

var result = pointlist.FilteredSummaries(timeRange, new AFTimeSpan(timeRange.Span), "IsSet('TAGNAME', \"s\") = 1",

                AFSummaryTypes.Count, AFCalculationBasis.EventWeighted, AFSampleType.ExpressionRecordedValues,

                AFTimeSpan.Zero, AFTimestampCalculation.Auto, conf);

 

Any idea?

Outcomes