Script execution

This commit is contained in:
gac-x11ma
2019-05-17 22:39:11 +02:00
parent 5176af0806
commit 405c6982fb

View File

@@ -1,6 +1,3 @@
wait 10
print "delay 10 s"
#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')
@@ -8,12 +5,12 @@ print "delay 10 s"
''' long acquisition Sn M-edge + O K-edge
#''' long 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')
otf(start=480, end=510, time=5, delay=900, 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