I am looking for a way to be able to sum event frame attribute values over a specified time frame for possible storage in a unique PI Tag.
For example, I have an event frame that evaluates whether a tank pressure is > 25. For those events, the tank level at the end of the event is subtracted from the tank level at the beginning of the event and stored as an event frame attribute.
I want to be able to create something that evaluates the sum of these tank level differences over a specified time frame, specifically, Start: '*-365d' & End: '*'.
Any ideas on how this can be done?