158 lines
4.1 KiB
Python
158 lines
4.1 KiB
Python
#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST')
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample120/")
|
|
|
|
#Sample 120
|
|
|
|
TRY.write(8.8)
|
|
TRZ.write(9.5)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB120_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB120_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
#close_vg10()
|
|
|
|
#sample130
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample130/")
|
|
|
|
TRY.write(1.8)
|
|
TRZ.write(9.5)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB130_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB130_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
#close_vg13()
|
|
|
|
#sample133_Li
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample133_Li/")
|
|
|
|
TRY.write(-6.2)
|
|
TRZ.write(9.5)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB133_Li_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB133_Li_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
#close_vg13()
|
|
|
|
#sample140_Li
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample140_Li/")
|
|
|
|
TRY.write(8)
|
|
TRZ.write(22.9)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB140_Li_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB140_Li_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
#close_vg13()
|
|
|
|
#sample121
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample121/")
|
|
|
|
TRY.write(0.2)
|
|
TRZ.write(22.9)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB121_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB121_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
#close_vg13()
|
|
|
|
#sample122
|
|
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/21Feb2020/Sample122/")
|
|
|
|
TRY.write(8)
|
|
TRZ.write(22.9)
|
|
|
|
nr_loops=3
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(nr_loops):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 6)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=620, end=680, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB122_Mn_linear_1', folder='./')
|
|
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 7)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=520, end=590, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='GB122_O_linear_1', folder='./')
|
|
|
|
|
|
time.sleep(3)
|
|
close_vg13()
|