MSO DAQ: event memory resets after first polling
When running in sequenced acquisition, the code regularly polls the scope to know how many events have been recorded yet (when complete, the segmented memory is readout and transferred to the computer).
Issue: after the first poll action, the segmented memory resets and the acquisition starts again normally. For example, if the number of requested events per run is 5000, the trigger rate is about 100 Hz and the polling period is 5 seconds, the following occurs:
- [0s]: 0 events recorded
- [5s]: 500 events recorded (here immediately after it resets)
- [10s]: 500 events recorded (again! we expected 1000 here)
- [15s]: 1000 events recorded
- [20s]: 1500 events recorded