aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/scope/rigolds1054z.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py
index b41086c..f7a99bb 100644
--- a/qolab/hardware/scope/rigolds1054z.py
+++ b/qolab/hardware/scope/rigolds1054z.py
@@ -112,6 +112,13 @@ class RigolDS1054z(ScopeSCPI):
self.write(f":TIMebase:MODE? {val}")
@BasicInstrument.tsdb_append
+ def getRoll(self):
+ """Is Roll mode enabled."""
+ if self.getTimeBaseMode() == "Roll":
+ return True
+ return False
+
+ @BasicInstrument.tsdb_append
def getTriggerMode(self):
"""Get trigger mode.