Closedown

This commit is contained in:
X11MA
2017-05-14 05:14:40 +02:00
parent ffafb111f2
commit 39b755d5a3
7 changed files with 55 additions and 35 deletions

View File

@@ -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"