diff --git a/script/local.py b/script/local.py index f8b7a84d..162b0afa 100644 --- a/script/local.py +++ b/script/local.py @@ -212,11 +212,16 @@ def after_readout(rec): create_diag_datasets() append_diag_datasets() + +SampleCurrentAveraging=ch.psi.pshell.epics.ChannelDouble|X03DA-OP:CADC1.N|Read||true +RefCurrentAveraging=ch.psi.pshell.epics.ChannelDouble|X03DA-OP:CADC2.N|Read||true +AuxCurrentAveraging=ch.psi.pshell.epics.ChannelDouble|X03DA-OP:CADC3.N|Read||true + def adjust_sensors(): global SENSORS if SENSORS is not None: # Move integration to end - for dev in ["Scienta.spectrum","Integration", "AngleDistribution", "Scienta.dataMatrix"]: + for dev in ["Scienta.spectrum","EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]: if dev in SENSORS: SENSORS=SENSORS+[SENSORS.pop(SENSORS.index(dev))]