From 5fc3e60af4649ebe54cf0c1cc699672fac2da9b9 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 5 Jan 2022 23:04:52 -0500 Subject: spell check and extra properties --- qolab/hardware/i_server/i800.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py index bc87719..1d108d8 100644 --- a/qolab/hardware/i_server/i800.py +++ b/qolab/hardware/i_server/i800.py @@ -21,7 +21,7 @@ class I800(BasicInstrument): self.config['Device type']='TemperatureController' self.config['Device model'] = 'i800' self.config['FnamePrefix'] = 'temperature' - self.deviceProperties = {'Temperature'} + self.deviceProperties = {'Temperature', 'SetPoint1', 'SetPoint2'} def query(self, cmnd): modbus_cmnd = f'{self.modbus_address}{cmnd}' @@ -63,13 +63,13 @@ class I800(BasicInstrument): return(sign*val/scale) @BasicInstrument.tsdb_append - def getSetPoin1(self): + def getSetPoint1(self): command='R01' reply=self.query(command) return (self.setPoinStr2value(reply)) @BasicInstrument.tsdb_append - def getSetPoin2(self): + def getSetPoint2(self): command='R02' reply=self.query(command) return (self.setPoinStr2value(reply)) -- cgit v1.2.3