Files
x11ma/script/test/otf_NCM111.py
2019-09-30 21:48:07 +02:00

101 lines
3.7 KiB
Python

#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Fe')
#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Fe')
#otf(start=520, end=570, time=5, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#otf(start=480, end=510, time=2.5, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#otf(start=270, end=320, time=1, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#otf(start=120, end=180, time=10, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#''' long acquisition edges in loop during galvanostatic
nr_loops=1000
loop_count = 0
while loop_count < nr_loops:
caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Ni')
caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Co')
caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Mn')
caput('X11MA-KEI10:RANGE', 6)
# caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_O')
caput('X11MA-KEI10:RANGE', 6)
# caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Survey')
loop_count = loop_count + 1
# '''
''' repeating scans Ni
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Ni')
loop_count = loop_count + 1
# repeating scans Co
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Co')
loop_count = loop_count + 1
# repeating scans Mn
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=6
loop_count = 0
while loop_count < nr_loops:
otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Mn')
loop_count = loop_count + 1
# repeating scans O
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_O')
loop_count = loop_count + 1
# repeating scans C
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=6
loop_count = 0
while loop_count < nr_loops:
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_C')
loop_count = loop_count + 1
# repeating scans Survey
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Survey')
loop_count = loop_count + 1
# '''