aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-19 12:42:43 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-19 12:42:43 -0400
commit2d76eb585e71ea0e68f980795c69f419538ff0fa (patch)
treedf6d4c279b42f6c895987e2513b1423fa210df01 /qolab
parent6391d30ef0248faea90a8ea2e7975e576040aa0f (diff)
downloadqolab-2d76eb585e71ea0e68f980795c69f419538ff0fa.tar.gz
qolab-2d76eb585e71ea0e68f980795c69f419538ff0fa.zip
fixed expected data format to unsigned byte
Diffstat (limited to 'qolab')
-rw-r--r--qolab/hardware/scope/rigolds1054z.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py
index 0286381..13616c6 100644
--- a/qolab/hardware/scope/rigolds1054z.py
+++ b/qolab/hardware/scope/rigolds1054z.py
@@ -166,7 +166,7 @@ class RigolDS1054z(ScopeSCPI):
<yreference>: the vertical reference position in the Y direction.
"""
Npnts = int(preamble[2])
- wfRaw = np.zeros(Npnts, dtype=np.int8)
+ wfRaw = np.zeros(Npnts, dtype=np.uint8)
maxreadable = 250_000 # the maximum number of bytes readable in one go
chunk_size = 70_000 # unfortunately large chunk size prone to read errors
errCnt = 0