Skip to content

merge fork main - #469

Merged
bls337 merged 5 commits into
micro-manager:mainfrom
bls337:main
Aug 1, 2026
Merged

merge fork main#469
bls337 merged 5 commits into
micro-manager:mainfrom
bls337:main

Conversation

@bls337

@bls337 bls337 commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Switching between Galvo and Stage scan recomputed the slice timing against the previous mode, so the first run after a switch failed validation and an immediate retry worked. The durations panel had the same problem and showed the other mode's numbers.

Fixing that exposed a second issue: the timing solver can produce a negative camera exposure, which the camera accepts without complaint and then images nothing. Added a check that refuses to arm instead of running it. These two belong together, since the first is what surfaces the bad value and the second is what catches it.

Also initializes the stage scan speed and acceleration before setup can exit early, so a refused run no longer restores 0 to the stage.

Bench-validated on a dual-Hamamatsu SCAPE: the mode switch no longer aborts, a valid stage scan still runs, and a refused one leaves the stage alone.

@bls337
bls337 merged commit b63c326 into micro-manager:main Aug 1, 2026
1 check failed
@bls337 bls337 changed the title fix slice timing staleness and refuse to arm on unusable timing merge fork main Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant