This commit is contained in:
@@ -254,13 +254,18 @@ public class Eiger extends Panel {
|
||||
}
|
||||
}
|
||||
} catch (Exception ex){
|
||||
|
||||
showException(ex);
|
||||
}
|
||||
}//GEN-LAST:event_comboDepthActionPerformed
|
||||
|
||||
private void buttonTriggerDetectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonTriggerDetectorActionPerformed
|
||||
try {
|
||||
evalAsync("eiger.start()");
|
||||
evalAsync("eiger.start()").handle((ret,ex)->{
|
||||
if (ex!=null){
|
||||
showException((Exception)ex);
|
||||
}
|
||||
return ret;
|
||||
});
|
||||
} catch (Exception ex) {
|
||||
showException(ex);
|
||||
}
|
||||
@@ -273,6 +278,7 @@ public class Eiger extends Panel {
|
||||
mode.write(value);
|
||||
}
|
||||
} catch (Exception ex){
|
||||
showException(ex);
|
||||
}
|
||||
}//GEN-LAST:event_comboModeActionPerformed
|
||||
|
||||
@@ -282,13 +288,18 @@ public class Eiger extends Panel {
|
||||
exposure.write((Double)spinnerExpusure.getValue());
|
||||
}
|
||||
} catch (Exception ex){
|
||||
|
||||
showException(ex);
|
||||
}
|
||||
}//GEN-LAST:event_spinnerExpusureStateChanged
|
||||
|
||||
private void buttonStopDetectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonStopDetectorActionPerformed
|
||||
try {
|
||||
evalAsync("eiger.stop()");
|
||||
evalAsync("eiger.start()").handle((ret,ex)->{
|
||||
if (ex!=null){
|
||||
showException((Exception)ex);
|
||||
}
|
||||
return ret;
|
||||
});
|
||||
} catch (Exception ex) {
|
||||
showException(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user