Files
x11ma/script/test/otf_test.py
2019-05-17 09:07:40 +02:00

26 lines
969 B
Python

#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=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')
#''' night acquisition Sn M-edge + O K-edge
nr_loops=1000
loop_count = 0
while loop_count < nr_loops:
caput('X11MA-KEI12:RANGE', 10)
otf(start=480, end=510, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
caput('X11MA-KEI12:RANGE', 9)
otf(start=520, end=570, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
# '''
''' repeating scans
nr_loops=5
loop_count = 0
while loop_count < nr_loops:
otf(start=270, end=320, time=5, delay=5, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
'''