From 07225609d12024c5e35cc87211aff1d3d64a8848 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 21 Sep 2021 11:27:57 +0200 Subject: [PATCH] Closedown --- config/variables.properties | 6 +++--- plugins/Scienta.java | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config/variables.properties b/config/variables.properties index 042668f0..dbe9a69d 100644 --- a/config/variables.properties +++ b/config/variables.properties @@ -1,4 +1,4 @@ -#Tue Sep 21 11:23:38 CEST 2021 +#Tue Sep 21 11:25:34 CEST 2021 LastRunDate=210921 -FileSequentialNumber=8645 -DaySequentialNumber=4 +FileSequentialNumber=8647 +DaySequentialNumber=6 diff --git a/plugins/Scienta.java b/plugins/Scienta.java index 0fba9c36..69ede0ae 100644 --- a/plugins/Scienta.java +++ b/plugins/Scienta.java @@ -59,6 +59,8 @@ public class Scienta extends ch.psi.pshell.epics.Scienta { @Override protected void doInitialize() throws IOException, InterruptedException { super.doInitialize(); + spectrum.setSize(ChannelDoubleArray.KEEP_TO_VALID); + spectrumX.setSize(ChannelDoubleArray.KEEP_TO_VALID); } @@ -99,13 +101,14 @@ public class Scienta extends ch.psi.pshell.epics.Scienta { setAccessType(AccessType.Read); } - + /* @Override protected double[] doRead() throws IOException, InterruptedException { //getNumChannels().getValue(); setSizeToValidElements(); return super.doRead(); } + */ @Override @@ -143,7 +146,7 @@ public class Scienta extends ch.psi.pshell.epics.Scienta { } return x; */ - spectrumX.setSizeToValidElements(); + //spectrumX.setSizeToValidElements(); return spectrumX.read(); }