diff --git a/script/optics/ExitSlitYScanKei.py b/script/optics/ExitSlitYScanKei.py index 85eca0b4..09b27fbf 100644 --- a/script/optics/ExitSlitYScanKei.py +++ b/script/optics/ExitSlitYScanKei.py @@ -31,11 +31,12 @@ caput(KEI_RMU + "NAVG", DWELL / 0.02) caput(KEI_RMU + "TCOUNT", NSTEPS) caput(KEI_RMU + "RANGE", 8) # 2 nA +caput(KEI_DIODE + "DOINIT", 1) +caput(KEI_RMU + "DOINIT", 1) +time.sleep(0.1) + def trig(): wait_beam() - caput(KEI_DIODE + "DOINIT", 1) - caput(KEI_RMU + "DOINIT", 1) - time.sleep(0.1) caput(KEI_DIODE + "DOTRIGGER", 1) caput(KEI_RMU + "DOTRIGGER", 1) time.sleep(DWELL * 1.5)