diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-05 23:04:52 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-05 23:04:52 -0500 |
commit | 5fc3e60af4649ebe54cf0c1cc699672fac2da9b9 (patch) | |
tree | 53786a21e2a01476569014e4679b9b392c4ec38f /qolab | |
parent | 3f1aeba530eed7b4a5310f829e2214af1c551cb8 (diff) | |
download | qolab-5fc3e60af4649ebe54cf0c1cc699672fac2da9b9.tar.gz qolab-5fc3e60af4649ebe54cf0c1cc699672fac2da9b9.zip |
spell check and extra properties
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/i_server/i800.py | 6 |
1 files 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)) |