AVG - Moving average - number of samples?
-
I want to know the 15min running average of a signal which is updated every second.
Do I enter '900' for the parameter 'n' in the AVG FB or is this related to the tick parameter set in FB EXEC? -
@scoobsalamander Hi Kris,
thanks for your question. The parameter n - number of samples is related to the samples of running algorithm - therefore also related to the tick and ntickN parameters.
Kind Regards,
Tomas -
@cechurat
So, thus this mean that with the below settings I need 1800 samples for a 15min running average, correct? (50msx10 --> every 0,5s a sample) -
@scoobsalamander Yes, Kris - this is correct.
Cheers,
Tomas -
@cechurat ... this would mean that if I add a task in the future the timing might not be correct anymore.
Would it not be better that this can be configured with timing (e.g. seconds, minutes, days,.....) instead of a certain amount of samples? -
This post is deleted!