def doFinish(self): Detector.doFinish(self) self._check_shutter() # close shutter if self.ctrl_photoshutter: self._attached_photoshutter.maw(CLOSED) if self.ctrl_gammashutter: self._attached_gammashutter.maw(CLOSED) self._prepared = False
def doFinish(self): Detector.doFinish(self) self.kwscounting = False if self._attached_shutter and self.openshutter: self._attached_shutter.maw('closed')
def doFinish(self): Detector.doFinish(self) if self.autoshutter: self._attached_shutter.maw('close')
def doFinish(self): # After setting the startpv to 0 # finish all the channels self._put_pv('startpv', 0, wait=False) Detector.doFinish(self)
def doFinish(self): Detector.doFinish(self) if self.ctrl_shutter and self._attached_shutter.read() == CLOSED: raise InvalidValueError(self, 'shutter not open after exposure, ' 'check safety system')