Files
x11ma/script/Users/gesara/20feb2020.py
gac-x11ma 99586393b5
2020-09-22 10:39:02 +02:00

31 lines
802 B
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/20Feb2020/Sample120/")
#Sample 120
TRY.write(8.8)
TRZ.write(9.5)
nr_loops=10
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=610, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='Mn_linear', folder='')
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=520, end=580, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name='Oedge_linear', folder='')
time.sleep(5)
close_vg10()
TRY.write(0.0)
TRZ.write(0.0)