diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-21 14:10:25 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-21 14:10:25 -0400 |
commit | d92fd69741cbcdc0c25c3bed0467179b76ca0b14 (patch) | |
tree | 5d77a9426045b0ab7333ff654b040fe16fda1460 /qolab | |
parent | 4f55e72138b9d22f0554bf7655658dc0d34a199a (diff) | |
download | qolab-d92fd69741cbcdc0c25c3bed0467179b76ca0b14.tar.gz qolab-d92fd69741cbcdc0c25c3bed0467179b76ca0b14.zip |
added function to inquire about Roll status
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/rigolds1054z.py | 7 |
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. |