aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/rigolds1054z.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-22 10:29:00 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-22 10:29:00 -0400
commitd420fd6b5b9c08c009f9fd3600ed0767135ef081 (patch)
tree7e6ff70adf49988fcf63aaf8fd18cd3a462bb0f5 /qolab/hardware/scope/rigolds1054z.py
parent765df9b3d0a0a93e7abf2fd7d213d974ab145eb9 (diff)
downloadqolab-d420fd6b5b9c08c009f9fd3600ed0767135ef081.tar.gz
qolab-d420fd6b5b9c08c009f9fd3600ed0767135ef081.zip
make sure that scope is stopped before trace is acquired
Diffstat (limited to 'qolab/hardware/scope/rigolds1054z.py')
-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 1d4e6c9..bcd351d 100644
--- a/qolab/hardware/scope/rigolds1054z.py
+++ b/qolab/hardware/scope/rigolds1054z.py
@@ -427,6 +427,7 @@ class RigolDS1054z(ScopeSCPI):
old_run_status = self.getRun()
if old_run_status: # avoid unnecessary status change
self.setRun(False) # stop if currently running
+ self._waitUntillStop()
# to get synchronous channels
wfVoltage, rawChanCfg = self.getWaveform(
chNum,