aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
Diffstat (limited to 'qolab')
-rw-r--r--qolab/hardware/scope/rigolds1054z.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py
index 757bbfe..1d4e6c9 100644
--- a/qolab/hardware/scope/rigolds1054z.py
+++ b/qolab/hardware/scope/rigolds1054z.py
@@ -100,10 +100,10 @@ class RigolDS1054z(ScopeSCPI):
return False
@BasicInstrument.tsdb_append
- def setRun(self, val):
+ def setRun(self, isRun):
"""Either enable run or stop the acquisition."""
- if val:
+ if isRun:
self.run()
return
self.stop()