aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware')
-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))