aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/basic.py')
-rw-r--r--qolab/hardware/basic.py4
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)