diff --git a/script/local.py b/script/local.py index e4a5b204..63f6d1b9 100644 --- a/script/local.py +++ b/script/local.py @@ -213,7 +213,8 @@ def after_readout(rec): append_diag_datasets() -def set_averaging(): +def set_adc_averaging(): + value = Scienta.getStepTime().read() * 10.0 #averaging count in 100ms SampleCurrentAveraging.write(value) RefCurrentAveraging.write(value) AuxCurrentAveraging.write(value)