Closedown

This commit is contained in:
gac-x11ma
2018-09-04 20:19:29 +02:00
parent a56c4e57dd
commit 93c8ae2ab3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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()