Script execution

This commit is contained in:
boccioli_m
2015-05-20 15:35:17 +02:00
parent 74cc94d4fe
commit 6a7e388c82
+3 -3
View File
@@ -28,7 +28,7 @@ for setpoint1 in frange(0.0, 50.0, 1.0, True):
#Dimension 1
#LinearPositioner SetVA
for setpoint1 in frange(0.0, 50.0, 1.0, True):
for setpoint1 in frange(0.0, 50.0, 2.0, True):
if setpoint1 > 50.0 or setpoint1 < 0.0:
break
SetVA.put(setpoint1, timeout=None) # TODO: Set appropriate timeout
@@ -49,5 +49,5 @@ ActualVA.close()
scan.end()
#Post-actions
caput('PO2DV-NCS-VHQ1:Set-VA', '0')
sleep(4.0)
#caput('PO2DV-NCS-VHQ1:Set-VA', '0')
#sleep(4.0)