diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-03 23:07:26 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-03 23:07:26 -0500 |
commit | d24753d96d8f3de6c5262baf18c60e8fde7577a8 (patch) | |
tree | a820bd1193a7486de512c787c0274d4253baed4f /qolab/hardware | |
parent | 2f9fe8e31ccd1239ed752b2a3b147a463af7f835 (diff) | |
download | qolab-d24753d96d8f3de6c5262baf18c60e8fde7577a8.tar.gz qolab-d24753d96d8f3de6c5262baf18c60e8fde7577a8.zip |
deviceProperties are now set and not list
Diffstat (limited to 'qolab/hardware')
-rw-r--r-- | qolab/hardware/basic.py | 4 |
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 = '' |