Custom Calculation: Signal Statistics

Hello GPA, is there a way to calculate in a batch mode the signal statistics at a specifc rate in opneHIstorian? A place where the user could select all the frequency and voltage magnitude signals and extract at a given rate (let’s say, 1 result every 30 seconds) and store back in the storage?

Statistics such as: max/min, average, std etc.

This would be very useful for easy data navigation, trend plotting, data search and system performance reports.

So far we are doing this calculation externally via STTP/Python but we reckon this would be more efficient if don inside of OH (possibly in a different server)

I have found this as a reference: How to use adapter: Dynamic Calculator - #2 by StephenCWills but not sure if this can be done for +100 signals in a practical way.

Thanks in advance.

I would suggest writing a custom adapter for this task for the best efficiency. You could use DyanamicCalculator, as you suggest, but these would need to be scripted and there would end up being very many adapter instances.

Thanks,
Ritchie

Ok thanks for the feedback on this topic, I believe you confirmed my understanding. For now we will continue our experiments externally and then think in a more fiseable solution.