Script execution

This commit is contained in:
gac-x03da
2018-02-02 14:25:00 +01:00
parent cc35db2660
commit dd986e284c

View File

@@ -78,18 +78,18 @@ else:
def trig():
wait_beam()
print "init"
print time.asctime() + "init"
caput(KEI_DIODE + "DOINIT", 1)
caput(KEI_RMU + "DOINIT", 1)
print "trigger"
print time.asctime() + "trigger"
caput(KEI_DIODE + "DOTRIGGER", 1)
caput(KEI_RMU + "DOTRIGGER", 1)
caput("X03DA-OP-10ADC:TRG.PROC", 1)
#time.sleep(DWELL * 1.1)
print "fetch"
print time.asctime() + "fetch"
caput(KEI_DIODE + "DOFETCH", 1)
caput(KEI_RMU + "DOFETCH", 1)
print "done"
print time.asctime() + "done"
value = DWELL * 10.0
SampleCurrentAveraging.write(value)