beamline_updates

This commit is contained in:
x12sa
2025-12-16 14:43:11 +01:00
parent 1f02d9ad18
commit d3fbff38c1
2 changed files with 3 additions and 3 deletions

View File

@@ -273,7 +273,7 @@ class DDG1(PSIDeviceBase, DelayGeneratorCSAXS):
# Prepare the MCS card for the next software trigger
mcs = self.device_manager.devices.get("mcs", None)
if mcs is None:
if mcs is None or mcs.enabled is False:
logger.info("Did not find mcs card with name 'mcs' in current session")
else:
self._prepare_mcs_on_trigger(mcs)

View File

@@ -220,8 +220,8 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard):
# The buffer needs to be cleared as this will otherwise lead to missing
# triggers during the scan. Again, this should not happen if unstage is properly called.
# But user interference or a restart of the device_server may lead to this situation.
self.erase_all.put(1)
time.sleep(0.2)
# self.erase_all.put(1)
# time.sleep(3)
if self.current_channel.get() != 0:
with suppress_mca_callbacks(self):
logger.warning(