aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-22 09:51:08 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-22 09:51:08 -0400
commitd1870400ab80a05c653e96655fd908bd1bc1c8bd (patch)
treeb87ef755e5e62cec932b32b291a81b011fb24409 /qolab/hardware/scope
parentc0c141eacee9f14cf26c5d4458c99e0adcedbbf9 (diff)
downloadqolab-d1870400ab80a05c653e96655fd908bd1bc1c8bd.tar.gz
qolab-d1870400ab80a05c653e96655fd908bd1bc1c8bd.zip
better variable name
Diffstat (limited to 'qolab/hardware/scope')
-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()