Script execution

This commit is contained in:
x03daop
2017-02-09 18:37:10 +01:00
parent b2c6cb6953
commit 10c9a9d9df

View File

@@ -36,7 +36,7 @@ try:
theta = [-9.0,6.0,21.0,31.0,41.0,51.0,61.0,71.0]
x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta]
y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta]
VECTOR = [theta[i], x[i], y[i]] for i in range(len(theta))]
VECTOR = [theta[i], x[i], y[i] for i in range(len(theta))]
vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout)
# Zn
@@ -50,7 +50,7 @@ try:
theta = [-9.0,6.0,21.0,31.0,41.0,51.0,61.0,71.0]
x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta]
y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta]
VECTOR = [theta[i], x[i], y[i]] for i in range(len(theta))]
VECTOR = [theta[i], x[i], y[i] for i in range(len(theta))]
vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout)
# Mn
@@ -64,7 +64,7 @@ try:
theta = [-9.0,6.0,21.0,31.0,41.0,51.0,61.0,71.0]
x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta]
y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta]
VECTOR = [theta[i], x[i], y[i]] for i in range(len(theta))]
VECTOR = [theta[i], x[i], y[i] for i in range(len(theta))]
vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout)
finally:
after_scan()