Script execution

This commit is contained in:
boccioli_m
2015-05-20 16:17:13 +02:00
parent 5691ce9241
commit de23291226

View File

@@ -1,7 +1,7 @@
#Script imported from: PO2DV-NCS-HW_ps.xml
#Pre-actions
caput('PO2DV-NCS-VHQ1:Set-RampA', '15')
caput('PO2DV-NCS-VHQ1:Set-RampA', '5')
sleep(0.5)
#TODO: Set the diplay names of positioners and detectors
@@ -34,7 +34,7 @@ for setpoint1 in frange(0.0, 50.0, 4.0, True):
readback1 = SetVA.get()
if abs(readback1 - setpoint1) > 0.5 : # TODO: Check accuracy
raise Exception('Actor SetVA could not be set to the value ' + str(setpoint1))
for setpoint2 in frange(0.0, 20.0, 1.0, True):
for setpoint2 in frange(0.0, 40.0, 1.0, True):
#Detector time
detector1 = float(java.lang.System.currentTimeMillis())
#Detector ActualVA