Closedown
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
#Script imported from: MgE_plus.xml
|
||||
|
||||
#Parameters
|
||||
"""
|
||||
E1 = 1290
|
||||
E2 = 1450
|
||||
TIME = 3 #min
|
||||
DELAY = 10.0 #s
|
||||
MODE = 'CIRC +'
|
||||
OFFSET = -9.0
|
||||
FOLDER = '2015_04/20150417'
|
||||
FILE = 'MgE_plus'
|
||||
ALPHA=0
|
||||
"""
|
||||
|
||||
"""
|
||||
E1 = 710
|
||||
E2 = 720
|
||||
@@ -47,8 +35,6 @@ def wait_channel(name, value, type):
|
||||
print "Done"
|
||||
|
||||
|
||||
|
||||
|
||||
#Pre-actions
|
||||
#wait_channel('ACOAU-ACCU:OP-MODE', 'Light Available', type = 's')
|
||||
caput('X07MA-ID:MODE', MODE)
|
||||
@@ -85,10 +71,6 @@ newName = folder + time.strftime("%Y%m%d_%H%M_", start) + FILE + "_0000.txt";
|
||||
#name = caget("MSG").split(' ')[0]
|
||||
name = getNewestFile()
|
||||
|
||||
print "Newest was" + str(newest)
|
||||
print "Now is" + str(name)
|
||||
print "MSG = " + caget("MSG")
|
||||
|
||||
if name == newest:
|
||||
raise Exception("Data file not created")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user