2 Replies Latest reply on May 20, 2013 5:13 PM by viletbounnam

    filtering data on pivalues

    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,