diff options
Diffstat (limited to 'qolab/hardware')
-rw-r--r-- | qolab/hardware/scope/rigolds1054z.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py index f7a99bb..bf5a6a5 100644 --- a/qolab/hardware/scope/rigolds1054z.py +++ b/qolab/hardware/scope/rigolds1054z.py @@ -92,6 +92,14 @@ class RigolDS1054z(ScopeSCPI): return res @BasicInstrument.tsdb_append + def getRun(self): + """Is acquisition running or stopped.""" + + if self.getTriggerStatus() != "STOP": + return True + return False + + @BasicInstrument.tsdb_append def getTimeBaseMode(self): """Get he mode of the horizontal timebase. |