Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set hardware time points to false if using multiple positions for now #205

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -663,18 +663,17 @@ private boolean doHardwareCalculations(PLogicSCAPE plc) {
&& acqSettings_.numTimePoints() > 1
&& timepointIntervalMs < (timepointDuration + 750)
&& !acqSettings_.isUsingStageScanning()) {
// acqSettings_.useHardwareTimesPoints(true);
asb_.useHardwareTimePoints(true);
isUsingHardwareTimePoints = true;
}

// TODO: implement multiple positions using hardware time points, currently
// set hardware time points to false if using multiple positions
if (acqSettings_.isUsingMultiplePositions()) {
if ((acqSettings_.isUsingHardwareTimePoints()
|| acqSettings_.numTimePoints() > 1)
&& (timepointIntervalMs < timepointDuration*1.2)) {
//acqSettings_.setHardwareTimesPoints(false);
if (acqSettings_.isUsingHardwareTimePoints()) {
// || acqSettings_.numTimePoints() > 1)
// && (timepointIntervalMs < timepointDuration*1.2)) {
asb_.useHardwareTimePoints(false);
// TODO: uncomment when timepointDuration is verified to be computed correctly
// studio_.logs().showError("Time point interval may not be sufficient "
// + "depending on actual time required to change positions. "
// + "Proceed at your own risk.");
Expand Down