Lakeshore 340 only has one HTR

This commit is contained in:
Douglas Clowes
2013-06-25 11:09:54 +10:00
parent 0c179166de
commit 66f67c1c0d

View File

@@ -360,7 +360,7 @@ class Lakeshore340(LakeshoreDevice):
else: else:
raise IndexError raise IndexError
def doQueryHTR(self, cmd, args): def doQueryHTR(self, cmd, args):
idx = int(args[0]) idx = 1
if idx in self.HTR: if idx in self.HTR:
self.write("%f" % self.HTR[idx]) self.write("%f" % self.HTR[idx])
else: else: