Closedown

This commit is contained in:
gac-x03da
2021-09-21 11:03:53 +02:00
parent 660b049cb2
commit 545b934b31

View File

@@ -59,8 +59,6 @@ public class Scienta extends ch.psi.pshell.epics.Scienta {
@Override
protected void doInitialize() throws IOException, InterruptedException {
super.doInitialize();
spectrum.setSize(KEEP_TO_VALID);
spectrumX.setSize(KEEP_TO_VALID);
}
@@ -101,13 +99,14 @@ public class Scienta extends ch.psi.pshell.epics.Scienta {
setAccessType(AccessType.Read);
}
/*
@Override
protected double[] doRead() throws IOException, InterruptedException {
getNumChannels().getValue();
//getNumChannels().getValue();
setSizeToValidElements();
return super.doRead();
}
*/
@Override
public ArrayCalibration getCalibration() {
@@ -143,6 +142,7 @@ public class Scienta extends ch.psi.pshell.epics.Scienta {
}
return x;
*/
spectrumX.setSizeToValidElements();
return spectrumX.read();
}