From f648cc1ada87ca1f22f54a6a63cc2fbe6aa9d1aa Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 3 Aug 2016 17:55:49 +0200 Subject: [PATCH] Script execution --- script/FocusYRotScan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/FocusYRotScan.py b/script/FocusYRotScan.py index 200f4362..3c813bff 100644 --- a/script/FocusYRotScan.py +++ b/script/FocusYRotScan.py @@ -28,7 +28,7 @@ def trig_sensors(): caput("X03DA-OP-10ADC:TRG.PROC", 1) try: - lscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout) + lscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=trig_sensors, after_read = after_readout) finally: if ENDSCAN: after_scan()