Added from Printfs to try to debug the locking-up problem.
Fixed that bug.  It was because I was tuning the epi-light off before I read out the digitizer data.  Turning off the epi-light involves an asynchronous call to the digitizer, which borks the ongoing acquistion.