gix broken stop command for cryo

Change-Id: I80917163a8cb4df993bd6dcd5acbbf8764117a24
This commit is contained in:
Enrico Faulhaber
2017-09-12 14:55:53 +02:00
parent 7a50ff2603
commit 7d5b211a0e

View File

@ -125,7 +125,7 @@ class Cryostat(CryoBase):
), ),
) )
CMDS = dict( CMDS = dict(
Stop=CMD( stop=CMD(
"Stop ramping the setpoint\n\nby setting the current setpoint as new target", "Stop ramping the setpoint\n\nby setting the current setpoint as new target",
[], [],
None), None),
@ -174,7 +174,7 @@ class Cryostat(CryoBase):
def read_pid(self, maxage=0): def read_pid(self, maxage=0):
return (self.p, self.i, self.d) return (self.p, self.i, self.d)
def doStop(self): def do_stop(self):
# stop the ramp by setting current setpoint as target # stop the ramp by setting current setpoint as target
# XXX: discussion: take setpoint or current value ??? # XXX: discussion: take setpoint or current value ???
self.write_target(self.setpoint) self.write_target(self.setpoint)