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 ! !

Prasad

There is the ACE method "Mean" that would obtain an event weighted average.

This is a pretty straightforward equation that could be migrated to PI Analysis.