This commit is contained in:
gac-x11ma
2025-09-18 13:55:56 +02:00
parent 0f8956cafe
commit d26d91d508
12 changed files with 96 additions and 76 deletions

View File

@@ -9,7 +9,7 @@ import ch.psi.pshell.imaging.RendererListener;
import ch.psi.pshell.framework.Panel;
import ch.psi.pshell.imaging.DeviceRenderer;
import ch.psi.pshell.imaging.Renderer;
import ch.psi.pshell.sequencer.Interpreter;
import ch.psi.pshell.sequencer.Sequencer;
import ch.psi.pshell.utils.Arr;
import ch.psi.pshell.utils.IO;
import ch.psi.pshell.utils.Serializer;
@@ -370,7 +370,7 @@ public class DataAcquisition extends Panel {
rendererRoi.abortSelection();
}
void run2Images() throws Interpreter.InterpreterStateException {
void run2Images() throws Sequencer.StateException {
HashMap args = new HashMap();
args.put("METHOD", comboImgMethod.getSelectedItem());
@@ -417,7 +417,7 @@ public class DataAcquisition extends Panel {
return ranges;
}
void runAbsSpectrum() throws Interpreter.InterpreterStateException {
void runAbsSpectrum() throws Sequencer.StateException {
HashMap args = new HashMap();
args.put("SAVE_SPECTRUM", checkSpecSaveSpectrum.isSelected());
args.put("SAVE_IMAGES", checkSpecSaveImages.isSelected());
@@ -454,7 +454,7 @@ public class DataAcquisition extends Panel {
}
}
void enableNorm(boolean enabled) throws Interpreter.InterpreterStateException {
void enableNorm(boolean enabled) throws Sequencer.StateException {
if (!enabled) {
removeNorm();
} else {