@@ -606,8 +606,8 @@ class DDG1(PSIDeviceBase, DelayGeneratorCSAXS):
|
||||
f"MCS card is not in acquiring state, current state: {mcs.acquiring.get()}"
|
||||
)
|
||||
if mcs.acquiring.get() != ACQUIRING.ACQUIRING:
|
||||
logger.warning(
|
||||
f"MCS card is not in acquiring state, current state: {mcs.acquiring.get()}"
|
||||
logger.error(
|
||||
f"MCS card is not finishing after 3s, current state: {mcs.acquiring.get()}, waiting another 3s for its return to ACQUIRING state. If this happens regularly, please check the EPICS interface and the MCS card logic."
|
||||
)
|
||||
status_mcs.wait(timeout=3)
|
||||
except Exception as exc:
|
||||
@@ -615,7 +615,7 @@ class DDG1(PSIDeviceBase, DelayGeneratorCSAXS):
|
||||
mcs.erase_start.put(1)
|
||||
status_mcs.wait(timeout=3)
|
||||
status = TransitionStatus(mcs.acquiring, [ACQUIRING.ACQUIRING, ACQUIRING.DONE])
|
||||
logger.debug(f"Finished preparing mcs card {time.time()-start_time}")
|
||||
logger.info(f"Finished preparing mcs card {time.time()-start_time}")
|
||||
|
||||
# Send trigger
|
||||
self.trigger_shot.put(1, use_complete=True)
|
||||
|
||||
Reference in New Issue
Block a user