Exemplo n.º 1
0
 def doStart(self):
     # open shutter
     if self.ctrl_gammashutter:
         self._attached_gammashutter.maw(OPEN)
     if self.ctrl_photoshutter:
         self._attached_photoshutter.maw(OPEN)
     Detector.doStart(self)
     self._prepared = False
Exemplo n.º 2
0
    def doStart(self):
        try:
            if self._attached_rc.read(0) != 'on':
                self.log.warning('radial collimator is not moving!')
        except NicosError:
            self.log.warning('could not check radial collimator', exc=1)

        self._update()

        self._last_time = 0
        self._last_counts = 0
        self._last_moncounts = 0
        self._starttime = currenttime()
        self._setROParam('rates', [[0., 0.], [0., 0.]])

        session.action('run# %06d' % session.experiment.lastpoint)

        GenericDetector.doStart(self)
Exemplo n.º 3
0
 def doStart(self):
     if self._attached_shutter and self.openshutter:
         self._attached_shutter.maw('open')
     self.kwscounting = True
     Detector.doStart(self)
Exemplo n.º 4
0
 def doStart(self):
     # First start all the channels (if applicable) and then
     # set the detector startpv
     Detector.doStart(self)
     self._put_pv('startpv', 1, wait=True)
Exemplo n.º 5
0
 def doStart(self):
     # open shutter before exposure
     if self.ctrl_shutter:
         self._attached_shutter.maw(OPEN)
     Detector.doStart(self)