From 93a4ce4060c12d15a56a8cefe65ee54b6495d9eb Mon Sep 17 00:00:00 2001 From: sfop Date: Tue, 10 Jan 2017 16:56:32 +0100 Subject: [PATCH] Script execution --- script/RFscan/phase_scan_caqtdm_dv2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/RFscan/phase_scan_caqtdm_dv2.py b/script/RFscan/phase_scan_caqtdm_dv2.py index 578e787..bba9408 100644 --- a/script/RFscan/phase_scan_caqtdm_dv2.py +++ b/script/RFscan/phase_scan_caqtdm_dv2.py @@ -3,10 +3,12 @@ import ch.psi.pshell.epics.ControlledVariable as ControlledVariable latency = 0.05 if get_exec_pars().source == CommandSource.ui: - prefix = "SINSB04-RSYS" + prefix = "SINSB04" else: prefix = args[0] +prefix += "-RSYS" +print "Prefix = ", prefix start = caget(prefix + ":SET-SCAN-START") stop = caget(prefix + ":SET-SCAN-STOP")