Files
x11ma/script/test/StartingExample.py
gac-x11ma 0f8956cafe
2025-09-03 16:52:53 +02:00

22 lines
743 B
Python

#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST')
nr_loops=5
loop_count = 0
while loop_count < nr_loops:
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_C', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=520, end=570, time=2, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_O', folder='data/2019_10/20191004')
loop_count = loop_count + 1
time.sleep(5)
TRY.write(0.0)
TRZ.write(0.0)