diff --git a/script/Marco/power-supply.py b/script/Marco/power-supply.py index b14ae26..38eb7e6 100644 --- a/script/Marco/power-supply.py +++ b/script/Marco/power-supply.py @@ -2,7 +2,7 @@ #Pre-actions caput('PO2DV-NCS-VHQ1:Set-RampA', '25') -sleep(1.0) +sleep(0.5) #TODO: Set the diplay names of positioners and detectors scan = ManualScan(['SetVA'], ['time', 'ActualVA'] , [0.0], [50.0], [50]) @@ -41,7 +41,7 @@ for setpoint1 in frange(0.0, 50.0, 2.0, True): #Detector ActualVA detector2 = ActualVA.get() #scan.append ([setpoint1], [readback1], [detector1, detector2]) - scan.append (detector1, detector2, setpoint1) + scan.append ([detector1, detector2], [setpoint1], [readback1]) #Closing channels SetVA.close()