Thanks! I have forwarded your message to the programmer and he has indicated that he is thinking along the same lines. He sent me a prototype that worked ok, except for one problem - the javascript did not sample the position at the same intervals of time. I had asked him to try a 15-16 ms resolution, but the program wrote data anywhere between every 16 ms to 64 ms over the course of the sampling. I have asked him to try a 100 ms resolution - hopefully that should work!