Closedown
This commit is contained in:
@@ -74,7 +74,7 @@ number_of_scans = 1
|
||||
###############################################################################
|
||||
|
||||
caput ("X11PHS-E:OPT","PGM+ID2")
|
||||
caput(OTF_OFF1,-50) #detune ID1
|
||||
#caput(OTF_OFF1,-50) #detune ID1
|
||||
wait_channel(OTF_DONE, 1, type = 'i')
|
||||
|
||||
if RUNTYPE in ["+/-", "+", "-"]:
|
||||
@@ -99,13 +99,13 @@ elif RUNTYPE in ["LH/LV", "LH", "LV"]:
|
||||
else:
|
||||
raise Exception("Invalid run type: " + RUNTYPE)
|
||||
|
||||
open_vg10()
|
||||
time.sleep(0.5)
|
||||
open_vg11()
|
||||
time.sleep(0.5)
|
||||
open_vg12()
|
||||
time.sleep(0.5)
|
||||
open_vg13()
|
||||
#open_vg10()
|
||||
#time.sleep(0.5)
|
||||
#open_vg11()
|
||||
#time.sleep(0.5)
|
||||
#open_vg12()
|
||||
#time.sleep(0.5)
|
||||
#open_vg13()
|
||||
|
||||
###############################################################################
|
||||
#Main scan loop
|
||||
@@ -170,7 +170,7 @@ for scan_no in range(number_of_scans):
|
||||
fid = fid + 1
|
||||
|
||||
caput(OTF_ESET, E1)
|
||||
close_vg13()
|
||||
#close_vg13()
|
||||
|
||||
print "Finished Energy scan"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user