aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/basic.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 23:07:26 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 23:07:26 -0500
commitd24753d96d8f3de6c5262baf18c60e8fde7577a8 (patch)
treea820bd1193a7486de512c787c0274d4253baed4f /qolab/hardware/basic.py
parent2f9fe8e31ccd1239ed752b2a3b147a463af7f835 (diff)
downloadqolab-d24753d96d8f3de6c5262baf18c60e8fde7577a8.tar.gz
qolab-d24753d96d8f3de6c5262baf18c60e8fde7577a8.zip
deviceProperties are now set and not list
Diffstat (limited to 'qolab/hardware/basic.py')
-rw-r--r--qolab/hardware/basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/basic.py b/qolab/hardware/basic.py
index 21e1e5d..53315b3 100644
--- a/qolab/hardware/basic.py
+++ b/qolab/hardware/basic.py
@@ -25,8 +25,8 @@ class BasicInstrument:
# deviceProperties must have 'get' and preferably 'set' methods available,
# i.e. 'SampleRate' needs getSampleRate() and love to have setSampleRate(value)
# they will be used to obtain config and set device according to it
- # self.deviceProperties = ['SampleRate', 'TimePerDiv', 'TrigDelay', ];
- self.deviceProperties = [];
+ # self.deviceProperties = {'SampleRate', 'TimePerDiv', 'TrigDelay', };
+ self.deviceProperties = set()
def __repr__(self):
s = ''