Skip to content

Commit

Permalink
fix Hamamatsu camera trigger property names
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed Oct 2, 2023
1 parent 7f53b6f commit 6470fa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ private void createUserInterface() {
int periodY = 0;
if (scanner != null) {
pattern = scanner.sa().getPatternY().toString();
amplitudeY = (float)scanner.sa().getAmplitudeY();
amplitudeY = scanner.sa().getAmplitudeY();
periodY = scanner.sa().getPeriodY();
}

cbxPattern_ = new ComboBox(patterns, pattern, 100, 24);

spnAmplitude_ = Spinner.createDoubleSpinner(amplitudeY, 0.0, 100.0, 1.0);
spnPeriod_ = Spinner.createIntegerSpinner(periodY, 0, 100, 1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public static class Models {
public static class Properties {
public static final String CAMERA_NAME = "CameraName";
public static final String CAMERA_BUS = "Camera Bus";
public static final String TRIGGER_SOURCE = "TRIGGER_SOURCE";
public static final String TRIGGER_ACTIVE = "TRIGGER_ACTIVE";
public static final String TRIGGER_SOURCE = "TRIGGER SOURCE";
public static final String TRIGGER_ACTIVE = "TRIGGER ACTIVE";
public static final String SENSOR_MODE = "SENSOR MODE";
public static final String INTERNAL_LINE_INTERVAL = "INTERNAL LINE INTERVAL";
public static final String SCAN_MODE = "ScanMode";
Expand Down

0 comments on commit 6470fa2

Please sign in to comment.