Statistical function

Discussion about recent product features & solutions!
2 posts • Page 1 of 1
Rguieg
Posts:1
Joined: Tue Jan 29, 2019 12:17 pm

Statistical function

Post by Rguieg »

Hi,
I am new at WinCC OA, i'm currently working with Chart Ewo, and i was hoping that i can add to the chart ten different values to display, but those values are averages of the same DP element using a statistical function(average) with a calculation time interval of 1 value per day.
So the problem is how can I get these averages (in my case for 10 previous days) ,so that i can display them in the chart.
Thanks in advance.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Statistical function

Post by leoknipp »

If you want to read historical data you can use the CTRL function dpGetPeriod() or a dpQuery() command with the TIMERANGE condition.
For details please have a look at the WinCC OA Documentation.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1