From b6bcbf9455cc6267f430fafcf0cb3e95fbc3f3dc Mon Sep 17 00:00:00 2001 From: voulot_d Date: Thu, 19 Jan 2017 14:16:57 +0100 Subject: [PATCH] Script execution --- script/RFscan/gun_scan1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/RFscan/gun_scan1.py b/script/RFscan/gun_scan1.py index 9592e8f..795dcd8 100644 --- a/script/RFscan/gun_scan1.py +++ b/script/RFscan/gun_scan1.py @@ -28,7 +28,7 @@ def after(rec): try: qb = create_averager(q, nb, 0.100) - r = lscan(phase, [q], start, stop, step, latency=lat, after_read = after) + r = lscan(phase, (q), start, stop, step, latency=lat, after_read = after) rf_phase = r.getPositions(0) charge = [val.mean for val in r.getReadable(0)] caput("SINEG01-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d'))