Skip to content

Conversation

@agalasso
Copy link
Contributor

@agalasso agalasso commented Jan 25, 2026

Fix a couple problems with setting the limit frame

When we added software binning, we introduced some problems handling the
frame limit ROI.

  • when setting the frame limit via the server API, set the limit corresponding
    to the combined (hw+sw) binning level, not the bin-1 limit.
  • when capturing a camera frame in Camera_ZWO::Capture, use the limit frame
    passed in the capture params which is the proper limit for hw-only binning , not
    the Camera instance's LimitFrame member which incorporates hw+sw binning.

@agalasso agalasso self-assigned this Jan 25, 2026
@agalasso agalasso requested a review from bwdev01 January 25, 2026 04:37
Copy link
Contributor

@bwdev01 bwdev01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there something that makes the ZWO SDK unique in this respect?

@agalasso
Copy link
Contributor Author

Is there something that makes the ZWO SDK unique in this respect?

cam_zwo is the only camera right now that has support for frame limit ROI.

@agalasso agalasso requested a review from bwdev01 January 26, 2026 02:15
Copy link
Contributor

@bwdev01 bwdev01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good reason then. :-)

Base automatically changed from andy/log-binning-and-limit-frame to master January 28, 2026 19:06
When we added software binning, we introduced some problems handling the
frame limit ROI.

 - when setting the frame limit via the server API, set the limit corresponding
   to the combined (hw+sw) binning level, not the bin-1 limit.
 - when capturing a camera frame in Camera_ZWO::Capture, use the limit frame
   passed in the capture params which is the proper limit for hw-only binning , not
   the Camera instance's LimitFrame member which incorporates hw+sw binning.
@agalasso agalasso force-pushed the andy/limit-frame-bug-fixes branch from 5c49355 to 1abebfe Compare January 28, 2026 19:06
@agalasso agalasso merged commit 8abd5ec into master Jan 28, 2026
4 checks passed
@agalasso agalasso deleted the andy/limit-frame-bug-fixes branch January 28, 2026 19:06
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.

3 participants