This commit is contained in:
25
script/misc/StartingExample.py
Normal file
25
script/misc/StartingExample.py
Normal file
@@ -0,0 +1,25 @@
|
||||
#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST')
|
||||
set_exec_pars(path="")
|
||||
nr_loops=5
|
||||
|
||||
|
||||
open_vg10()
|
||||
time.sleep(1)
|
||||
|
||||
for i in range(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')
|
||||
|
||||
|
||||
time.sleep(5)
|
||||
close_vg10()
|
||||
|
||||
TRY.write(0.0)
|
||||
TRZ.write(0.0)
|
||||
Reference in New Issue
Block a user