From d24753d96d8f3de6c5262baf18c60e8fde7577a8 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 3 Jan 2022 23:07:26 -0500 Subject: deviceProperties are now set and not list --- qolab/hardware/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/hardware/basic.py') 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 = '' -- cgit v1.2.3