Script execution

This commit is contained in:
gac-x03da
2018-02-08 14:10:58 +01:00
parent 5b4dc870dd
commit bce823d1e2
+3 -1
View File
@@ -11,7 +11,7 @@ SENSORS (list)
ZIGZAG (BOOLEAN)
"""
THETA_RANGE = (-9.0, 81.0)
THETA_RANGE = (-9.0, 1.0)
THETA_STEP = 1.0
PHI_RANGE = (-10.0, +10.0)
PHI_STEP = 10.0
@@ -50,7 +50,9 @@ try:
ManipulatorPhi.write(phi)
print "phi = ", phi
ManipulatorPhi.waitValueInRange(phi, 1.0, 100)
print time.time(), " cscan: start"
cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], STEPS, time=theta_time, before_read=before_readout, after_read = after_readout)
print time.time(), " cscan: end"
if ZIGZAG:
THETA_RANGE = (THETA_RANGE[1], THETA_RANGE[0])