Just a note to say to it would be so much appreciated if the CalculationBasisConstants enumeration had an extra item.
The Exclude Most Recent Event just doesn't do it in some cases.
My range needs to stay 06:00:00 to 06:00:00 (don't want 06:00:00 to 05:59:59)
When working with AF Cases with those Time Range, I can't set the PI Point Data Reference to exclude the End Time Event.
If I have 3 events at
August 3rd 06:00:00, August 4th 00:00:00,August 4th 06:00:00
my average will be wrong, the last event being counted.
The Exclude Most Recent Event would work in that case but not if I only get events at August 3rd 06:00:00, August 4th 00:00:00, the value at Midnight will be excluded...