28 lines
722 B
Python
28 lines
722 B
Python
#Script imported from: MgE_plus.xml
|
|
|
|
#Pre-actions
|
|
cawait('ACOAU-ACCU:OP-MODE', 'Light Available', type = 's')
|
|
caput('X07MA-ID:MODE', 'CIRC +')
|
|
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', '1290')
|
|
caput('E2', '1340')
|
|
caput('TIME', '2')
|
|
caput('FOLDER', '2015_04/20150417')
|
|
caputq('X07MA-PHS-E:GO.A', '1290')
|
|
cawait('X07MA-PHS:alldone', '1', type = 's')
|
|
time.sleep(0.5)
|
|
caput('FILE', 'MgE_plus')
|
|
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)
|
|
caput('START', '1')
|
|
|
|
#Post-actions
|
|
cawait('START', 'STOP', type = 's')
|
|
time.sleep(2.0)
|