Darren.Metcalfe

Running total of tags

Discussion created by Darren.Metcalfe on Oct 17, 2013
Latest reply on Oct 22, 2013 by Darren.Metcalfe

Hi, PI Newbie here!!

 

I'm trying various methods to calculate the running total of numerous tags from current time to 30 days previous (the dates are changed to reflect 24 hours, 30 days 365 days etc)

 

So far I'm using;

 

tagtot('tagname','*-30d','*')

 

The start time is set as *-30d and the end time is set as current *.

 

Would this be the recommended method or is there an alternative?. The raw data the tags are reading contains electrical readings at 15 minute intervals and are received per hour.

 

The results I'm receiving seem to be providing an average over the last 30 days rather than a total?

 


Any help would be greatly appreciated

 

 

Outcomes