Script execution

This commit is contained in:
gac-x03da
2018-01-30 18:02:30 +01:00
parent e8b35afd20
commit 7a27766bb4

View File

@@ -39,14 +39,16 @@ time.sleep(1.0)
def trig():
wait_beam()
caput(KEI_DIODE + "DOREAD", 1)
#caput(KEI_DIODE + "DOINIT", 1)
#WORKS:
#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(0.1)
caput(KEI_DIODE + "DOTRIGGER", 1)
#caput(KEI_RMU + "DOTRIGGER", 1)
#time.sleep(DWELL * 2)
#caput(KEI_DIODE + "DOFETCH", 1)
caput(KEI_DIODE + "DOFETCH", 1)
#caput(KEI_RMU + "DOFETCH", 1)
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)