From ce46a878ada3766502e5d1254ff544e1834b56f4 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Thu, 8 Feb 2018 17:39:25 +0100 Subject: [PATCH] Closedown --- script/local.py | 17 ++++++----------- script/test/ManipulatorScanKei.py | 1 + 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/script/local.py b/script/local.py index 741114aa..2143565b 100644 --- a/script/local.py +++ b/script/local.py @@ -105,16 +105,14 @@ def prepare_keithleys(dwell): """ KeiSample.prepare(dwell) KeiReference.prepare(dwell) - pass def trig_keithleys(): """ trigger keithleys, do not wait. after this, you have to wait for at least the dwell time before reading the value! """ - #KeiSample.trig() - #KeiReference.trig() - pass + KeiSample.trig() + KeiReference.trig() def read_keithleys(): """ @@ -122,19 +120,16 @@ def read_keithleys(): this requires that at least the dwell time has passed since the last trigger. the value can then be read from the SampleCurrent and ReferenceCurrent devices. """ - #KeiSample.fetch() - #KeiReference.fetch() - pass + KeiSample.fetch() + KeiReference.fetch() def release_keithleys(): """ switch keithleys to free run. 0.1 s polling and dwell time """ - #KeiSample.release() - #KeiReference.release() - pass - + KeiSample.release() + KeiReference.release() def init_keithley_ca(dwell): """ diff --git a/script/test/ManipulatorScanKei.py b/script/test/ManipulatorScanKei.py index 4f39563a..b5679e8a 100644 --- a/script/test/ManipulatorScanKei.py +++ b/script/test/ManipulatorScanKei.py @@ -15,6 +15,7 @@ RANGE = (-0.5, 0.5) STEPS = 10 LATENCY = 0.5 RELATIVE = True +ENDSCAN = True adjust_sensors() set_adc_averaging()