Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user