diff --git a/csaxs_bec/devices/epics/delay_generator_csaxs/ddg_1.py b/csaxs_bec/devices/epics/delay_generator_csaxs/ddg_1.py index 0aa1768..9085ce9 100644 --- a/csaxs_bec/devices/epics/delay_generator_csaxs/ddg_1.py +++ b/csaxs_bec/devices/epics/delay_generator_csaxs/ddg_1.py @@ -174,6 +174,7 @@ class DDG1(PSIDeviceBase, DelayGeneratorCSAXS): status_acquiring = TransitionStatus(mcs.acquiring, [ACQUIRING.DONE, ACQUIRING.ACQUIRING]) self.cancel_on_stop(status_acquiring) mcs.erase_start.put(1) # Don't use erase_start as this may emit data through callbacks + time.sleep(0.2) # Allow some time for the MCS to process the erase status_acquiring.wait(timeout=10) # Allow 10 seconds in case communication is slow def _poll_event_status(self) -> None: