Script execution

This commit is contained in:
boccioli_m
2015-05-20 16:00:51 +02:00
parent e944633567
commit 6adb3d2ab0

View File

@@ -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()