diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/basic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qolab/hardware/basic.py b/qolab/hardware/basic.py index abfbc18..ee412db 100644 --- a/qolab/hardware/basic.py +++ b/qolab/hardware/basic.py @@ -18,6 +18,10 @@ class BasicInstrument: # self.deviceProperties = ['SampleRate', 'TimePerDiv', 'TrigDelay', ]; self.deviceProperties = []; + def __repr__(self): + s = f'{self.config}' + return(s) + def tsdb_append(f): return tsdb_append_metric_for_class_setter_or_getter()(f) |