Requesting multiples time frame aggregates

Discussion created by ygalipeau on Dec 17, 2009
Latest reply on Jan 7, 2010 by ygalipeau



i have a question for PI sdk.


is there a way to retreive multiple irregular time frame aggregate in just one call instead of multiple calls?


for example i want the avg value for the following range:










currently i will have to make a function call for each one of them and i don't think there is another way to do this.


would it be a good idea to have the possibility to pass an array of start time, end time and aggregate (like the interpolation functions). this would  reduce dramaticaly the trip back and forth to the PI server.