Workflows: xtalSNapshot settings in progress
This commit is contained in:
@@ -88,11 +88,19 @@ def sa2rse(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
devs.samcam_auto(AutoEnum.ONCE)
|
||||
|
||||
def sa2xtal_snapshot(devs:BeamlineDevices, cfg:BeamlineConfig):
|
||||
logger.info("SA to Xtal Snapshot")
|
||||
devs.samcam_settings.exposure = 0.001
|
||||
devs.samcam_settings.gain = 0.0
|
||||
logger.debug(f"new sam cam settings: {devs.samcam_settings}")
|
||||
devs.samcam_auto(AutoEnum.AUTO)
|
||||
devs.bec_worker.planner.move_to(BeamlineState.XTAL_SNAPSHOT)
|
||||
devs.samcam_auto(AutoEnum.ONCE)
|
||||
|
||||
def dc2xtal_snapshot(devs:BeamlineDevices, cfg:BeamlineConfig):
|
||||
logger.debug("DC to Xtal Snapshot")
|
||||
devs.samcam_settings.exposure = 0.001
|
||||
devs.samcam_settings.gain = 0.0
|
||||
logger.debug(f"new sam cam settings: {devs.samcam_settings}")
|
||||
devs.samcam_auto(AutoEnum.AUTO)
|
||||
devs.bec_worker.planner.move_to(BeamlineState.XTAL_SNAPSHOT)
|
||||
devs.samcam_auto(AutoEnum.ONCE)
|
||||
|
||||
Reference in New Issue
Block a user