Script execution
This commit is contained in:
@@ -26,9 +26,9 @@ phase.config.maxValue = 360.0
|
||||
phase.config.resolution = 0.5
|
||||
phase.initialize()
|
||||
|
||||
camtool = Camtool("sflca","10000")
|
||||
#camtool.stop()
|
||||
camtool.start()
|
||||
#my_camtool = Camtool("localhost:10000")
|
||||
camtool.stop()
|
||||
camtool.start("simulation")
|
||||
|
||||
#x = Channel("SINEG01-DSCR190:X-SIM", type = 'd', alias='SCR-X')
|
||||
#dx = Channel("SINEG01-DSCR190:DX-SIM", type = 'd', alias='SCR-DX')
|
||||
@@ -44,7 +44,7 @@ try:
|
||||
dE = [val.mean/1000.0/disp*energy0 for val in r.getReadable(1)]
|
||||
finally:
|
||||
phase.close()
|
||||
camtool.close()
|
||||
#my_camtool.close()
|
||||
|
||||
p = plot(None, title="Output")[0]
|
||||
p.clear()
|
||||
|
||||
Reference in New Issue
Block a user