Ejemplo n.º 1
0
    def acquire(self):
        status = DetectorStatus(self)

        if self.status:
            status.done = True
        else:
            self._statuses.append(status)

        if not status.done:
            logger.warning('---')
            logger.warning('Waiting for beam status to change...')
            logger.warning('---')

        return status
Ejemplo n.º 2
0
 def acquire(self, **kwargs):
     status = DetectorStatus(self)
     status._finished()
     # scaler/zebra take care of timing
     return status