Script execution

This commit is contained in:
gac-x03da
2018-10-14 17:04:04 +02:00
parent a125284366
commit 8acbef0aa3
+3 -2
View File
@@ -28,7 +28,7 @@ ENDSCAN = True
#importing pearlUtils
execfile("/sls/X03DA/data/gac-x03da/Data1/2018/10/Granas/XPSstuff/commands/pearlUtils.py")
ranges=[]
mprint("___starting O1s measure___")
loadParameterset(pearlU_path+"settings/screw_GE_pos.txt")
range1 = getParameterset(pearlU_path+"settings/FE_O1s.txt")
@@ -38,7 +38,7 @@ print range1
if len(range1)>5:
ranges = [range1]
ranges.append((range1[0],range1[1],range1[2],range1[3],range1[4],int(round(range1[5]))))
# (eph, min, max, step, time, iter)
skip_iteration = False
@@ -52,4 +52,5 @@ if len(range1)>5:
setVal("X03DA-FE-AB1:CLOSE4BL","0") #closeing the beam line
writeCommand(" O1s ")
time.sleep(4)