diff --git a/script/local.py b/script/local.py index f22b69fa..57c466fa 100644 --- a/script/local.py +++ b/script/local.py @@ -114,6 +114,9 @@ def trig_keithleys(): KeiSample.trig() KeiReference.trig() +def wait_keithleys(): + time.sleep(KeiSample.get_dwell()) + def fetch_keithleys(): """ read the keithleys into EPICS. @@ -344,6 +347,8 @@ def before_readout(): trig_keithleys() if sample_scienta: trig_scienta() + else: + wait_keithleys() fetch_keithleys() def after_readout(rec): diff --git a/script/test/ManipulatorScanKei.py b/script/test/ManipulatorScanKei.py index b5679e8a..63e6f3f9 100644 --- a/script/test/ManipulatorScanKei.py +++ b/script/test/ManipulatorScanKei.py @@ -10,7 +10,7 @@ RELATIVE (BOOLEAN) """ MOTOR = (ManipulatorY) -SENSORS = (SampleCurrent, RefCurrent) +SENSORS = (Counts, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent) RANGE = (-0.5, 0.5) STEPS = 10 LATENCY = 0.5