aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-19 22:40:44 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-19 22:40:44 -0400
commitfe3229225717b94663ac3af0ca13ac1de87e5895 (patch)
treeec546e8c67495930bbe1e77b86de974dadef2d70
parent2d76eb585e71ea0e68f980795c69f419538ff0fa (diff)
downloadqolab-fe3229225717b94663ac3af0ca13ac1de87e5895.tar.gz
qolab-fe3229225717b94663ac3af0ca13ac1de87e5895.zip
proper order of operation to avoid skeeping in Waveform array
-rw-r--r--qolab/hardware/scope/rigolds1054z.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py
index 13616c6..b7b4b91 100644
--- a/qolab/hardware/scope/rigolds1054z.py
+++ b/qolab/hardware/scope/rigolds1054z.py
@@ -202,6 +202,7 @@ class RigolDS1054z(ScopeSCPI):
In linux dmesg complains:
'bulk endpoint 0x3 has invalid maxpacket 64'
"""
+ strt += chunk_size
errorFreeChunkSize.append(chunk_size)
chunk_size = min(maxreadable, int(chunk_size * 1.1))
strt += chunk_size