From 7a1db439cffabd3688ca339e1e84b2d78638eae4 Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 3 Aug 2016 17:54:04 +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 f5997b26..6942dbd1 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()