Hi All,

I have to build a code in ACE (.NET) that will give me two results:

** - First:** Total of events for a tag in the past 24 hours.

** - Second:** For the same 24 hours, the total of events for the tag that will be between a range value (less than one value and greater than other value).

I couldn't find a way to do this so far. Any ideas?

Thanks,

Wilson

Hi Wilson,

There are no bulid-in functions to get you the results that, the way you can find out the number of events for a certain time period by:

As the

Valuesmethod doesn't support filtering, you can either loop through the returned values for the time period and find out how many values satisfy your condition.Alternatively, you can deploy PI SDK directly in the PI ACE calculation and use the

IPIData2.FilteredSummariesmethod.