aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/i_server
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-05 23:04:52 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-05 23:04:52 -0500
commit5fc3e60af4649ebe54cf0c1cc699672fac2da9b9 (patch)
tree53786a21e2a01476569014e4679b9b392c4ec38f /qolab/hardware/i_server
parent3f1aeba530eed7b4a5310f829e2214af1c551cb8 (diff)
downloadqolab-5fc3e60af4649ebe54cf0c1cc699672fac2da9b9.tar.gz
qolab-5fc3e60af4649ebe54cf0c1cc699672fac2da9b9.zip
spell check and extra properties
Diffstat (limited to 'qolab/hardware/i_server')
-rw-r--r--qolab/hardware/i_server/i800.py6
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))