viletbounnam

filtering data on pivalues

Discussion created by viletbounnam on May 18, 2013
Latest reply on May 20, 2013 by viletbounnam

What I've done is taken a 15 min average of a pi tag for 1 month using ipiData2 and returned that to a piValues.  From the piValues I would like to now find the max 15 min average value for each day.  I know I could loop through the values and test for date and comparing values but is there a way I can do this with the built in pi functions?

 

set fifteenMinAvg = ipid2.summaries("4/1/2013","5/1/2013","15m",asAverage,cbTimeWeighted)

 

 

 

thanks,

Outcomes