Closedown
This commit is contained in:
@@ -115,11 +115,14 @@ public class XPSSpectrum extends Panel {
|
||||
scienta.getCurrentChannel().addListener(progressListener);
|
||||
dvpAcqTime.setDevice(scienta.getAcquisitionTime());
|
||||
startTimer(500, 100);
|
||||
|
||||
manualInitPlotData();
|
||||
}
|
||||
|
||||
void manualInitPlotData(){
|
||||
//Setting data so cam define ranges for detailed without initial
|
||||
LinePlotSeries series = new LinePlotSeries("Data");
|
||||
rangeSelectionPanel.setSeries(series);
|
||||
series.setData(new double[]{valueLow.getValue(), valueHigh.getValue()}, new double[]{Double.NaN,Double.NaN});
|
||||
series.setData(new double[]{valueLow.getValue(), valueHigh.getValue()}, new double[]{Double.NaN,Double.NaN});
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -143,6 +146,11 @@ public class XPSSpectrum extends Panel {
|
||||
case "XPSSpectrum":
|
||||
if (result instanceof Exception) {
|
||||
//SwingUtils.showMessage(getComponent(), "Error in " + fileName, exception.getMessage());
|
||||
if (detailedScan) {
|
||||
|
||||
} else {
|
||||
manualInitPlotData();
|
||||
}
|
||||
} else {
|
||||
if (detailedScan) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user