_dp_fct / how to perform stat calculation over defined period

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
User avatar
amichon
Posts: 92
Joined: Sat May 17, 2014 3:49 pm

_dp_fct / how to perform stat calculation over defined period

Post by amichon »

can we use _dp_fct to perform a statistical calculation over a defined period?

for example I want to perform the calculation on an interval that can be modified programmatically

I'm looking for the best method to calculate an OEE

Thank you for your opinions

gschijndel
Posts: 330
Joined: Tue Jan 15, 2019 3:12 pm

Re: _dp_fct / how to perform stat calculation over defined period

Post by gschijndel »

Most statistical calculation can be done with a dyn function, so it might be doable without _dp_fct.

But not sure which calculations you need, so it is hard to say if this is a valid approach.

User avatar
leoknipp
Posts: 2846
Joined: Tue Aug 24, 2010 7:28 pm

Re: _dp_fct / how to perform stat calculation over defined period

Post by leoknipp »

A _dp_fct config has 2 possibilities:
-- Datapoint function: Triggered by a value change of the referenced datapoint elements
-- Statisitcal datapoint function: Calculation in a defined interval

If you want to do a calculation with different time intervals you have to write your own function for it which reads data from the database and does the calculation.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
3 posts • Page 1 of 1