Script execution

This commit is contained in:
gac-x03da
2018-01-30 17:50:50 +01:00
parent fea8326f35
commit 576253aba7

View File

@@ -34,13 +34,14 @@ caput(KEI_RMU + "RANGE", 8) # 2 nA
def trig():
wait_beam()
caput(KEI_DIODE + "DOINIT", 1)
caput(KEI_DIODE + "DOREAD", 1)
#caput(KEI_DIODE + "DOINIT", 1)
#caput(KEI_RMU + "DOINIT", 1)
time.sleep(1.0)
caput(KEI_DIODE + "DOTRIGGER", 1)
#time.sleep(1.0)
#caput(KEI_DIODE + "DOTRIGGER", 1)
#caput(KEI_RMU + "DOTRIGGER", 1)
time.sleep(DWELL * 2)
caput(KEI_DIODE + "DOFETCH", 1)
#time.sleep(DWELL * 2)
#caput(KEI_DIODE + "DOFETCH", 1)
#caput(KEI_RMU + "DOFETCH", 1)
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)