Script execution
This commit is contained in:
@@ -6,7 +6,7 @@ sleep(0.5)
|
||||
|
||||
#TODO: Set the diplay names of positioners and detectors
|
||||
#ManualScan(writables, readables, start = None, end = None, steps = None, relative = False)
|
||||
scan = ManualScan(['time'], ['SetVA', 'ActualVA'] , [0.0], [50.0], [10])
|
||||
scan = ManualScan(['time'], ['SetVA', 'ActualVA'] , [0.0], [50.0], [10]) #????????????????????? what does this really do? what is writeables? what is readables?
|
||||
scan.start()
|
||||
|
||||
#Creating channels: dimension 1
|
||||
@@ -44,7 +44,7 @@ for setpoint1 in frange(0.0, 50.0, 10.0, True):
|
||||
#scan.append ([setpoint1], [readback1], [detector1, detector2])
|
||||
|
||||
#append(setpoints, positions, values)
|
||||
scan.append ([detector1], [detector1], [readback1, detector2])
|
||||
scan.append ([detector1], [detector1], [readback1, detector2]) #?????????????????????? what is setpoint? what is position?
|
||||
print 'detector1'
|
||||
print detector1
|
||||
sleep( 0.1 ) # Settling time
|
||||
@@ -58,3 +58,5 @@ scan.end()
|
||||
#Post-actions
|
||||
caput('PO2DV-NCS-VHQ1:Set-VA', '0')
|
||||
#sleep(4.0)
|
||||
|
||||
#??????????????????????????? Device modeling: how can I modelise a Power Supply, for example?
|
||||
|
||||
Reference in New Issue
Block a user