AnsweredAssumed Answered

Any method that implements compression/exception in AFSDK for AFValues?

Question asked by Jerome Lefebvre on Sep 2, 2016
Latest reply on Sep 5, 2016 by v.alves

I am implementing a program that computes some forecasts values that will be written to the PI Data Archive when a trigger is raised.

As there is time between when the forecast is computed and written to the data archive, to speed things up at write time, I am trying to apply compression and exception to the data in the code as opposed to letting the data archive do it.

As anybody written such an algorithm before I try my hands at doing so?


Something like:

static AFValues compressExceptData(AFValues vals, float compressionDeviation, float exceptionDeviation)