Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user