Thanks for your quick response!
I changed min to mi, and it actually gives me an array of values!! Thanks!
What I would still need to improve is to include the actual Time value to the list. Now it is like:
2012-01-04 0 3126
2012-01-04 1 3070
2012-01-04 2 3111
not showing the minute of the avg value calculated. This wouldn't be needed if there allways is really all values, but sometimes, due to, say windows boot up, there will be no values for certain minutes.
Is it easy to include another column for Time?