From 113ea25007499cc53b64f18d5669f548f56ab3be Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Mon, 12 Aug 2019 15:57:30 +0200 Subject: [PATCH] Script execution --- script/test/FindCenter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/test/FindCenter.py b/script/test/FindCenter.py index 6be36f43..2c2ea5b6 100644 --- a/script/test/FindCenter.py +++ b/script/test/FindCenter.py @@ -12,9 +12,6 @@ ZIGZAG = False ENDSCAN = False START_POS = 0.0 -adjust_sensors() -set_adc_averaging() - SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent) MOTORS = ManipulatorY RANGE = (START_POS + 5., START_POS - 5.) @@ -33,6 +30,9 @@ print "speed: ", SPEED print "scan time: ", fly_time set_exec_pars(keep=True) +adjust_sensors() +set_adc_averaging() + result = cscan(MOTORS, SENSORS, RANGE[0], RANGE[1], STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False) readable = result.getReadable(0)