microsoft/Qcodes

AlazarTech ATS mode=TriggeredStreaming fails with > 1 buffer

sldesnoo-Delft opened this issue · 0 comments

Steps to reproduce

  1. call ats.aquire(mode='TS', samples_per_record=100e6, buffers_per_acquisition=10)
  2. qcodes driver tries to allocate buffer of 1000e6 bytes, which is larger than ATS driver supports.

2nd:

  1. call ats.aquire(mode='TS', samples_per_record=1e6, buffers_per_acquisition=10)
  2. instead of 10 time handle_buffer with a buffer of 1e6 bytes the qcodes driver returns a buffer with 10e6 bytes.

See fix in pull request.

qcodes branch
Master

qcodes commit