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