Script execution

This commit is contained in:
gac-x03da
2018-10-14 11:48:37 +02:00
parent e921ec2e47
commit a2278a41e9

View File

@@ -34,17 +34,20 @@ loadParameterset(pearlU_path+"settings/screw_GE_pos.txt")
range1 = getParameterset(pearlU_path+"settings/FE_O1s.txt")
waitForEnergy(range1[0])
waitForGroup("mov-")
print range1
if True:
if len(range1)>5:
ranges = [range1]
# (eph, min, max, step, time, iter)
skip_iteration = False
ENDSCAN = True
setVal("X03DA-FE-AB1:CLOSE4BL","1") #opening the beam line
#setVal("X03DA-FE-AB1:CLOSE4BL","1") #opening the beam line
time.sleep(4)
execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/XPSSpectrum_base.py")
print "got to checkpoint"
#execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/XPSSpectrum_base.py")
setVal("X03DA-FE-AB1:CLOSE4BL","0") #closeing the beam line