Stringmsg="Could not set motor "+(axialMotor+1)+" to move to "+axialMotorPosition+" - may be out of limit";
...
...
@@ -302,8 +304,8 @@ horizontal axis:
IJ.showMessage("Error",msg);
returnfalse;
}
// update motor positions in the image properties, acquire and save images.
// TODO: Make acquisition/decoding/laser identification multi-threaded
// update motor positions in the image properties, acquire and save images.
// TODO: Make acquisition/decoding/laser identification multi-threaded
this.cameras.setMotorsPosition(this.goniometerParameters.goniometerMotors.getTargetPositions());// Used target, not current to prevent minor variations
this.cameras.reportTiming=debugTiming;
...
...
@@ -327,12 +329,12 @@ horizontal axis:
0,//tiltMotorPosition,
0,//axialMotorPosition,
updateStatus);
returnfalse;
returnfalse;
}
}
}
}
OK=motorsMove(
tiltMotor,
...
...
@@ -343,7 +345,7 @@ horizontal axis:
if(this.debugLevel>0)System.out.println("Scan finished in "+IJ.d2s(1E-9*(System.nanoTime()-startTime),3)+" seconds.");