Script execution
This commit is contained in:
+21
-6
@@ -1,30 +1,45 @@
|
||||
#Script imported from: MgE_plus.xml
|
||||
|
||||
#Parameters
|
||||
"""
|
||||
E1 = 1290
|
||||
E2 = 1450
|
||||
TIME = 3 #min
|
||||
DELAY = 10.0 #s
|
||||
MODE = 'CIRC +'
|
||||
FOLDER = '2015_04/20150417'
|
||||
FILE = 'MgE_plus'
|
||||
"""
|
||||
E1 = 690
|
||||
E2 = 755
|
||||
TIME = 3 #min
|
||||
DELAY = 10.0 #s
|
||||
MODE = 'CIRC +'
|
||||
FOLDER = '2015_04/20150417'
|
||||
FILE = 'MgE_plus'
|
||||
|
||||
|
||||
|
||||
#Pre-actions
|
||||
cawait('ACOAU-ACCU:OP-MODE', 'Light Available', type = 's')
|
||||
caput('X07MA-ID:MODE', 'CIRC +')
|
||||
caput('X07MA-ID:MODE', MODE)
|
||||
time.sleep(1.0)
|
||||
cawait('X07MA-ID:DONE', 'DONE', type = 's')
|
||||
caput('X07MA-ID:ENERGY-OFFS', '-9.0')
|
||||
cawait('X07MA-ID:DONE', 'DONE', type = 's')
|
||||
caput('E1', E1)
|
||||
caput('E2', E2)
|
||||
caput('TIME', '2')
|
||||
caput('FOLDER', '2015_04/20150417')
|
||||
caputq('X07MA-PHS-E:GO.A', '1290')
|
||||
caput('TIME', TIME)
|
||||
caput('FOLDER', FOLDER)
|
||||
caputq('X07MA-PHS-E:GO.A', E1)
|
||||
cawait('X07MA-PHS:alldone', '1', type = 's')
|
||||
time.sleep(0.5)
|
||||
caput('FILE', 'MgE_plus')
|
||||
caput('FILE', FILE)
|
||||
time.sleep(0.1)
|
||||
caput('X07MA-OP-VG13:WT_SET', 'Try open')
|
||||
time.sleep(5.0)
|
||||
caput('X07MA-OP-VG13:WT_SET', 'Try open')
|
||||
time.sleep(10.0)
|
||||
time.sleep(DELAY)
|
||||
caput('START', '1')
|
||||
|
||||
#Post-actions
|
||||
|
||||
Reference in New Issue
Block a user