From 2d76eb585e71ea0e68f980795c69f419538ff0fa Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 19 Jul 2024 12:42:43 -0400 Subject: fixed expected data format to unsigned byte --- qolab/hardware/scope/rigolds1054z.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab') 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): : 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 -- cgit v1.2.3