Closedown

This commit is contained in:
x03daop
2015-07-16 14:26:34 +02:00
parent e4a0a8a6ab
commit 5949983dbb
5 changed files with 27 additions and 15 deletions

View File

@@ -3,6 +3,7 @@
*/
import ch.psi.pshell.dev.Motor;
import ch.psi.pshell.epics.Scienta;
import ch.psi.pshell.ui.Panel;
import ch.psi.utils.State;
import ch.psi.utils.swing.SwingUtils;
@@ -533,7 +534,12 @@ public class ManipulatorScan extends Panel {
}//GEN-LAST:event_buttonStartActionPerformed
private void buttonAbortActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonAbortActionPerformed
abort();
try {
abort();
((Scienta) getDevice("scienta")).stop();
} catch (Exception ex) {
showException(ex);
}
}//GEN-LAST:event_buttonAbortActionPerformed
private void radioStepSizeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_radioStepSizeActionPerformed