Script execution
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user