Script execution

This commit is contained in:
gac-x03da
2018-02-08 12:03:52 +01:00
parent a98721cd26
commit 242dc52b5e

View File

@@ -44,10 +44,12 @@ print "theta_time: ", theta_time
PHI_STEP = 40.0
PHI_NSTEPS = int((PHI_RANGE[1] - PHI_RANGE[0]) / PHI_STEP) + 1
phi_positions = [PHI_RANGE[0] + PHI_STEP * i for i in range(PHI_NSTEPS)]
print "phi_positions: ", phi_positions
try:
for phi in phi_positions:
ManipulatorPhi.write(phi)
print "phi = ", phi
ManipulatorPhi.waitValueInRange(phi, 1.0, 100)
cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], STEPS, time=theta_time, before_read=before_readout, after_read = after_readout)
if ZIGZAG: