Closedown
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user