From de23291226c1cfca384ce2eee2e86d85063cdfda Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 20 May 2015 16:17:13 +0200 Subject: [PATCH] Script execution --- script/Marco/power-supply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/Marco/power-supply.py b/script/Marco/power-supply.py index 0e03c08..3ccdd8d 100644 --- a/script/Marco/power-supply.py +++ b/script/Marco/power-supply.py @@ -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