Closedown
This commit is contained in:
@@ -11,6 +11,11 @@ MODE = 'CIRC +'
|
||||
OFFSET = -1.0
|
||||
"""
|
||||
|
||||
controller.dataManager.openOutput()
|
||||
print "Data folder: " + controller.dataManager.output
|
||||
#TODO: Print filename
|
||||
|
||||
|
||||
FIELD_PRECISION = 0.01
|
||||
|
||||
#Pre-actions
|
||||
@@ -73,7 +78,7 @@ print "SKIPPED Waiting for start field"
|
||||
#caput("X07MA-PC-MAG:X:DMD", START_FIELD)
|
||||
#caput("X07MA-PC-MAG:STARTRAMP.PROC", 1)
|
||||
|
||||
#ramp_done.wait_for_value(1.0)
|
||||
ramp_done.wait_for_value(1.0)
|
||||
|
||||
cawait('X07MA-ID:DONE', 'DONE', type = 's')
|
||||
|
||||
@@ -140,13 +145,13 @@ while(True):
|
||||
else:
|
||||
dif = tey_norm-first
|
||||
dif_series.appendData(field_readback,dif)
|
||||
print [field_readback, setpoint2]
|
||||
print [field_readback, readback2]
|
||||
print [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, tey_norm, trans_norm]
|
||||
#print [field_readback, setpoint2]
|
||||
#print [field_readback, readback2]
|
||||
#print [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, tey_norm, trans_norm]
|
||||
scan.append ([field_readback, setpoint2], [field_readback, readback2], [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, tey_norm, trans_norm])
|
||||
|
||||
|
||||
print "Field = " + str(fieldReadback.get())
|
||||
#print "Field = " + str(fieldReadback.get())
|
||||
if ramp_done.get() == 1: #If not ramping
|
||||
print "Not ramping, breaking execution"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user