diff --git a/script/users/Granas/ManipulatorScan_C1s.py b/script/users/Granas/ManipulatorScan_C1s.py new file mode 100644 index 00000000..33dc2cd7 --- /dev/null +++ b/script/users/Granas/ManipulatorScan_C1s.py @@ -0,0 +1,42 @@ +""" +author chritstoph seitz + +starting the xps measurement + +Fermi edge of C1s test +""" + + +#Parameters (global variables): +# ranges: list of RangeSelection havinf args = (step_size, step_time, iterations) +# pass_energy +# save_scienta_image +# +# skip_iteration: if set to 1 then skips after end of current iteration + +global ranges, pass_energy, skip_iteration, ENDSCAN + +#importing pearlUtils +execfile("/sls/X03DA/data/gac-x03da/Data1/2018/10/Granas/XPSstuff/commands/pearlUtils.py") + +mprint("___starting C1s measure___") +loadParameterset(pearlU_path+"settings/actual_GE_pos.txt") +range1 = getParameterset(pearlU_path+"settings/C1s.txt") + +if True: + ranges = [range1] + # (eph, min, max, step, time, iter) + + skip_iteration = False + ENDSCAN = True + STEPS = 10 + MOTOR = dummy + RANGE = (0,10) + + setVal("X03DA-FE-AB1:CLOSE4BL","1") #opening the beam line + time.sleep(4) + execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/ManipulatorScan_base.py") + + setVal("X03DA-FE-AB1:CLOSE4BL","0") #closeing the beam line + + time.sleep(10) \ No newline at end of file