From 8acbef0aa3e8f3332c0a0b6406b0a2d27dc844d7 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Sun, 14 Oct 2018 17:04:04 +0200 Subject: [PATCH] Script execution --- script/users/Granas/XPSSpectrum_O1s.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/users/Granas/XPSSpectrum_O1s.py b/script/users/Granas/XPSSpectrum_O1s.py index 07e9d22f..9c01fc92 100644 --- a/script/users/Granas/XPSSpectrum_O1s.py +++ b/script/users/Granas/XPSSpectrum_O1s.py @@ -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) \ No newline at end of file