Script execution

This commit is contained in:
boccioli_m
2015-05-22 15:22:56 +02:00
parent 7259149934
commit b93daa03db

View File

@@ -7,7 +7,7 @@ sleep(0.1)
#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', 'ActualIA'] , [0.0], [50.0], [10]) #????????????????????? what does this do? what is writeables? what is readables?
scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [20.0], [10]) #????????????????????? what does this do? what is writeables? what is readables?
scan.start()
#Creating channels: dimension 1
@@ -60,7 +60,7 @@ SetVA.close()
ActualVA.close()
ActualIA.close()
readable = detector2
readable = scan.readables(1)
positions = scan.writables
threshold = (min(readable) + max(readable))/2