Closedown

This commit is contained in:
x03daop
2016-03-08 15:32:29 +01:00
parent c242bf5c0d
commit a9e94c8428

View File

@@ -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))]