Closedown
This commit is contained in:
@@ -347,7 +347,8 @@ public class SchottkyScan extends Panel {
|
||||
|
||||
private void buttonSetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSetActionPerformed
|
||||
try {
|
||||
String cmd = "caput('SINEG01-RSYS:SET-VSUM-PHASE-OFFSET-BASE', -" + spinnerPhaseRef.getValue() + ")";
|
||||
double phaseOffset = -((Double)spinnerPhaseRef.getValue());
|
||||
String cmd = "caput('SINEG01-RSYS:SET-VSUM-PHASE-OFFSET-BASE', " + phaseOffset + ")";
|
||||
cmd += "; " + "caput('SINEG01-RSYS:CMD-LOAD-CALIB-BEAM', 1)";
|
||||
evalAsync(cmd).handle((ret, ex) -> {
|
||||
if (ex != null){
|
||||
|
||||
Reference in New Issue
Block a user