That averaging routine doesn't work so well with LARGE sample sizes.
Scaling the values up will help some, but it will still suffer on the low end.
A couple years ago, there was another guy that wanted to average 8,000 samples.
I wrote the attached program for him, and like normal, never heard from him again.
Usually that means it worked.
No guarantees, but you might give it a try...
<br>
Bookmarks