Closedown
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ for E in ENERGIES:
|
||||
readback1 = energy.read()
|
||||
if abs(readback1 - E) > 0.1 : # TODO: Check accuracy
|
||||
raise Exception('Energy could not be set to the value ' + str(E))
|
||||
sleep( ENERGY_CHANGE_SLEEP ) # Settling time
|
||||
sleep( 1 ) # Settling time
|
||||
|
||||
for B in Bpoints:
|
||||
print "Setting field = ", B
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ def convert_file(input_file_name, output_file_name):
|
||||
try:
|
||||
(Ecrbk,CADC1, CADC2, NORM, CADC3, CADC4, MCurr, cffrbk, ID1Erbk, ID2Erbk, vTime) = line.split(" ")
|
||||
field = caget('X11MA-XMCD:Ireadout')
|
||||
out.write(Ecrbk + s + CADC1 + s + CADC2 + s + CADC3 + field + line_sep)
|
||||
out.write(Ecrbk + s + CADC1 + s + CADC2 + s + CADC3 + s + field + line_sep)
|
||||
except:
|
||||
traceback.print_exc()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user