Closedown
This commit is contained in:
@@ -168,7 +168,7 @@ public class EnergyScan extends Panel {
|
||||
|
||||
void plot() {
|
||||
try {
|
||||
if ((scanPlot!=null) &&(scanSeries!=null)&& scanPlot.isShowing()){
|
||||
if ((scanPlot!=null) && (scanSeries!=null) && scanPlot.isShowing()){
|
||||
Integer c = count.take();
|
||||
if (c == null) {
|
||||
scanSeries.clear();
|
||||
@@ -355,7 +355,7 @@ public class EnergyScan extends Panel {
|
||||
}
|
||||
|
||||
void startPlot() throws Exception{
|
||||
PlotDescriptor descriptors = new PlotDescriptor("Scan Data");
|
||||
PlotDescriptor descriptors = new PlotDescriptor("Energy Scan");
|
||||
ArrayList<LinePlot> plots = getController().plot(new PlotDescriptor[]{descriptors},null);
|
||||
scanPlot = (LinePlotBase) plots.get(0);
|
||||
scanSeries = scanPlot.getSeries(0);
|
||||
|
||||
Reference in New Issue
Block a user