![Quote](https://www.javaprogrammingforums.com/images/misc/quote_icon.png)
Originally Posted by
Norm
Try it and see what happens. Work on fixing a problem when it is found.
Alright, ur right. I will try the brute method just out of curiosity, to see how much resources it takes, might not take much at all. But after that i think i got a solution. I will simply store values in array in a program and only write to file occasionaly. Lets say i measure values every 10 seconds. That means 6 lines per minute, 360 lines per hour. I could only write to file every hour and write down the average i get from that hour (360 lines in an array). In the meanwhile i will still gladly take any pointers, i mean programs do that all the time, log things, view data, etc. So there must be an efficient way to do that.