AnsweredAssumed Answered

ACE - How to calculate event-weighted average in PI ACE.

Question asked by PrasadChaudhari01 on Feb 26, 2019
Latest reply on Feb 27, 2019 by PrasadChaudhari01

Hello All,


Hope everyone is doing good ! ! !


I need help to develop some function in ACE.


I want to calculate the the event weighted average of the tag value for last 10 mins in my ACE code.


I know the Value.Avg() will give me the average of the tag value but i believed it is time weighted not event weighted.


how can i calculate event weighted average here ?


Thanks in advance ! !