Thanks for the quick response.
Like I said, the version that I posted up was written entirely by Aerotech, not me. At any rate, I'll try to separate out the data acquisition from the main loop. And I'll get on changing those buttons- didn't even notice their formatting was off. I'll post again if I'm still having trouble.