Hi,
Have you considered using triggered analog input acquisition -- you can set the trigger so that data collection starts when the stage moves. Can you attach a piece of code so that readers can check it out -- do you have the analog code running in a seperate While loop?
Regards,
RamziH.