diff --git a/script/EnergyScan.py b/script/EnergyScan.py
index 30c1b3d..b1a4cdd 100644
--- a/script/EnergyScan.py
+++ b/script/EnergyScan.py
@@ -13,16 +13,16 @@ if str(SET_OFFSETS) == "1":
elif RUNTYPE in ["LH/LV", "LH", "LV"]:
caput(OTF_MODE1,0)
caput(OTF_MODE2,0)
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
caput(OTF_ALPHA1, 0.0) # LH in ID1
caput(OTF_ALPHA2, 90.0) # LV in ID2
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
else:
raise Exception("Invalid run type: " + RUNTYPE)
caput(OTF_OFF1,OFFSET1)
caput(OTF_OFF2,OFFSET2-40) #detune ID2
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
print "Offsets are set"
import sys
sys.exit(0)
@@ -242,7 +242,7 @@ number_of_scans = 1
if RUNTYPE in ["+/-", "+", "-"]:
caput(OTF_MODE1,1) # circ + in ID1
caput(OTF_MODE2,2) # circ - in ID2
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
if RUNTYPE == "+/-":
number_of_scans = 2 * ROUNDS
else:
@@ -250,10 +250,10 @@ if RUNTYPE in ["+/-", "+", "-"]:
elif RUNTYPE in ["LH/LV", "LH", "LV"]:
caput(OTF_MODE1,0)
caput(OTF_MODE2,0)
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
caput(OTF_ALPHA1, 0.0) # LH in ID1
caput(OTF_ALPHA2, 90.0) # LV in ID2
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
if RUNTYPE == "LH/LV":
number_of_scans = 2 * ROUNDS
else:
@@ -268,7 +268,7 @@ elif RUNTYPE in ["+/-", "+", "LH/LV", "LH"]:
switchpol(1, RUNTYPE) # tune ID1 --> polarization: C+ or LH
time.sleep(1.0)
-wait_channel(OTF_DONE, 1, type = 'i')
+#wait_channel(OTF_DONE, 1, type = 'i')
open_vg10()
time.sleep(0.5)
@@ -289,7 +289,7 @@ for scan_no in range(number_of_scans):
caput(OTF_FID,fid)
time.sleep(2.0)
caput(OTF_ESET, E1)
- wait_channel(OTF_DONE, 1, type = 'i')
+ #wait_channel(OTF_DONE, 1, type = 'i')
time.sleep(DELAY)
time.sleep(2.0)
@@ -306,7 +306,9 @@ for scan_no in range(number_of_scans):
print "******** OTF STOP TIMEOUT **********"
otf_start.write(0)
finally:
- stopPlot()tead of sleep
+ stopPlot()
+
+ time.sleep(5.0)
#Convert file
output_file = output_path + "os" + file_prefix + "_" + suffix + ".dat"
diff --git a/script/scan_horizontal_outfocus.xml b/script/scan_horizontal_outfocus.xml
index 7e6671c..bd78207 100644
--- a/script/scan_horizontal_outfocus.xml
+++ b/script/scan_horizontal_outfocus.xml
@@ -3,41 +3,31 @@
-
-
+
- 101.0
- 111.0
+ 10.0
+ 17.0
0.25
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
-
- 1235 1225
+
+ 709.7 700
-
-
-
-
-
@@ -45,6 +35,4 @@ def process(c,d):
-
-
diff --git a/script/scan_vertical.xml b/script/scan_vertical.xml
index 163b112..c2f08bf 100644
--- a/script/scan_vertical.xml
+++ b/script/scan_vertical.xml
@@ -3,38 +3,30 @@
-
+
- 10.0
- 20.0
- 0.5
+ 12.0
+ 23.0
+ 0.25
-
-
-
-
-
+
+
+
+
+
-
-
+
-
- 706.8 700
+
+ 709.7 700
-
-
-
-
-
@@ -42,6 +34,4 @@ def process(c,d):
-
-