From 8f105c24e5b42bb321daf2b66d5c3fedcebfb246 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Tue, 14 Jun 2022 22:55:36 -0400 Subject: proper inheritance of the parent deviceProperties --- qolab/hardware/i_server/i800.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab/hardware/i_server') diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py index 264316a..89042d5 100644 --- a/qolab/hardware/i_server/i800.py +++ b/qolab/hardware/i_server/i800.py @@ -31,7 +31,7 @@ class I800(BasicInstrument): self.config['Device type']='TemperatureController' self.config['Device model'] = 'i800' self.config['FnamePrefix'] = 'temperature' - self.deviceProperties = {'Temperature', 'SetPoint1', 'SetPoint2'} + self.deviceProperties.update({'Temperature', 'SetPoint1', 'SetPoint2'}) def query(self, cmnd, trials=10): modbus_cmnd = f'{self.modbus_address}{cmnd}' -- cgit v1.2.3