One of the items i need to build frequently, yet no support in analytics yet.
I want to habe an AF Analysis function that returns the number of seconds a value of an attribute has changed. E.g. to calculate how long a pump is running, how long a batch is running, etc.
Currently i need to workaround using a secondary trigger attribute and SecSinceChange, so two analysis and an additional PI Point.
Also see topic here: https://pisquare.osisoft.com/thread/14374-af-analyses-secsincechange-strange-output