Script execution

This commit is contained in:
boccioli_m
2015-06-15 11:46:15 +02:00
parent ed8db76dac
commit 57952efb46

View File

@@ -114,11 +114,11 @@ for setpoint1 in range(0, 6):
count = setpoint1
idDiff01 = a-b
if endH>0.0 :
#invert direction and swap start with end of translation
end = startDefault
start = readback2 - direction
direction = -1.0
print 'End H switch, changing direction to ' + str(direction)
#invert direction and swap start with end of translation
end = startDefault
start = readback2 - direction
direction = -1.0
print 'End H switch, changing direction to ' + str(direction)
scan.append ([setpoint2], [readback2], [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, idDiff02, idDiff01])
break
if endL>0.0 :