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