23 lines
612 B
Python
Executable File
23 lines
612 B
Python
Executable File
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/20Feb2020")
|
|
|
|
#Set ID1 to C+ and ID2 to C-
|
|
caput('X11MA-ID1:MODE', 1)
|
|
time.sleep(30)
|
|
caput('X11MA-ID2:MODE', 2)
|
|
time.sleep(30)
|
|
|
|
#Set to PGM + ID1
|
|
caput('X11PHS-E:OPT', 1)
|
|
caput('X11MA-ID2-GAP:OPEN', 1)
|
|
|
|
#Energy scan with C+
|
|
otf(start=635, end=645, time=1, delay=10, mode='CIRC +', alpha = 0, offset=-2.5, name='Mn_plus_test', folder='Sample')
|
|
|
|
|
|
#Set to PGM + ID2
|
|
caput('X11PHS-E:OPT', 2)
|
|
caput('X11MA-ID1-GAP:OPEN', 1)
|
|
#Energy scan with C-
|
|
otf(start=635, end=645, time=1, delay=10, mode='CIRC -', alpha = 0, offset=-2.5, name='Mn_minus_test', folder='Sample')
|
|
|