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(); }