diff --git a/plugins/SchottkyScanSim.form b/plugins/SchottkyScanSim.form new file mode 100644 index 0000000..4eb19e4 --- /dev/null +++ b/plugins/SchottkyScanSim.form @@ -0,0 +1,46 @@ + + +
diff --git a/plugins/SchottkyScanSim.java b/plugins/SchottkyScanSim.java new file mode 100644 index 0000000..b934d08 --- /dev/null +++ b/plugins/SchottkyScanSim.java @@ -0,0 +1,96 @@ +/* + * Copyright (c) 2014-2017 Paul Scherrer Institute. All rights reserved. + */ +import ch.psi.pshell.core.Context; +import ch.psi.pshell.device.Averager; +import ch.psi.pshell.device.DescStatsDouble; +import ch.psi.pshell.plot.LinePlotErrorSeries; +import ch.psi.pshell.plot.LinePlotJFree; +import ch.psi.pshell.plot.LinePlotSeries; +import ch.psi.pshell.plot.Plot; +import ch.psi.pshell.scan.Scan; +import ch.psi.pshell.scan.ScanListener; +import ch.psi.pshell.scan.ScanRecord; +import ch.psi.pshell.ui.Panel; +import ch.psi.utils.State; +import ch.psi.utils.swing.SwingUtils; +import java.awt.Color; +import java.io.IOException; +import java.util.ArrayList; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.script.ScriptException; + +/** + * + */ +public class SchottkyScanSim extends Panel { + + public SchottkyScanSim() { + initComponents(); + } + + //Overridable callbacks + @Override + public void onInitialize(int runCount) { + + } + + @Override + public void onStateChange(State state, State former) { + + } + + @Override + public void onExecutedFile(String fileName, Object result) { + } + + + //Callback to perform update - in event thread + @Override + protected void doUpdate() { + } + + @SuppressWarnings("unchecked") + //