From 49af3065b69a709d4702ca32eb9d74668eb44b21 Mon Sep 17 00:00:00 2001 From: sfop Date: Thu, 9 Mar 2017 14:06:10 +0100 Subject: [PATCH] Script execution --- script/RFscan/GunScan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/RFscan/GunScan.py b/script/RFscan/GunScan.py index cd740ef..b88511d 100644 --- a/script/RFscan/GunScan.py +++ b/script/RFscan/GunScan.py @@ -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()