w
This commit is contained in:
@@ -388,13 +388,12 @@ class Timepix(PSIDeviceBase, TimePixControl):
|
||||
status_backend = DeviceStatus(self)
|
||||
# Add callback that starts the acquisition on the detector
|
||||
status_backend.add_callback(trigger_callback)
|
||||
# Prepare the backend, attach the status to the state of the backend
|
||||
status_backend = self.backend.on_trigger(status=status_backend)
|
||||
|
||||
# Prepare the camera status that resolves when the camera is finished acquiring
|
||||
status_camera = TransitionStatus(
|
||||
self.cam.acquire_busy, [ACQUIRESTATUS.ACQUIRING, ACQUIRESTATUS.DONE]
|
||||
)
|
||||
# Prepare the backend, attach the status to the state of the backend
|
||||
status_backend = self.backend.on_trigger(status=status_backend)
|
||||
|
||||
# TODO cleanup and test
|
||||
def failed_to_start_collect_cb(status: DeviceStatus):
|
||||
|
||||
Reference in New Issue
Block a user