aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/scope')
-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