Closedown
This commit is contained in:
@@ -33,9 +33,11 @@ public class GunSolenoidAlignment extends Panel {
|
||||
public void onNewRecord(Scan scan, ScanRecord record) {
|
||||
try {
|
||||
if (running) {
|
||||
double error_x = 0.2;
|
||||
double error_y = 0.4;
|
||||
scanSeries.appendData((Double) record.getValues()[0], (Double) record.getValues()[1], error_x, error_y);
|
||||
double x = (Double) record.getValues()[0];
|
||||
double y = (Double) record.getValues()[1];
|
||||
double error_x = (Double) record.getValues()[2];
|
||||
double error_y = (Double) record.getValues()[3];
|
||||
scanSeries.appendData(x, y, error_x, error_y);
|
||||
progressBar.setValue((int) (1000.0 * record.getIndex() / scan.getNumberOfRecords()));
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user