docs(ids-cameras): record round-3 HW-testing findings in the exposure/gain plan
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PYQTHuSxSaLCijvayoRkX5
This commit is contained in:
1 parent
9e1a3f68ba
commit
a550fd4f03
1 file changed
+30
@@ -393,3 +393,33 @@ Follow-up round after the auto-gain fix confirmed working on hardware:
|
||||
section, bounded to `pixel_clock_min`/`max` (also new `Kind.config` signals, seeded on
|
||||
connect the same way as the exposure ones) — since operators hitting the exposure
|
||||
slider's ceiling need this knob to raise it further, without dropping to a script.
|
||||
|
||||
## Addendum: HW-testing findings, round 3 (2026-09-14)
|
||||
|
||||
Follow-up after confirming the round-1/2 fixes on hardware (startup exposure now good).
|
||||
Two more findings:
|
||||
|
||||
- **"Auto gain is kind of useless" (design change, not a bug)**: continuous auto-gain
|
||||
has nothing further to adjust once the image is correctly exposed, and leaving it
|
||||
enabled takes gain out of the operator's manual control. Changed `on_connected()` to
|
||||
pulse `auto_gain_enabled` on then off (`_AUTO_GAIN_SETTLE_S = 0.5`s in between, long
|
||||
enough for a few frames from the already-running continuous capture to be processed),
|
||||
instead of leaving it enabled like `auto_exposure_enabled`. This still fixes the
|
||||
under-exposed-at-start symptom (a one-time gain correction) while leaving gain fixed
|
||||
under manual control afterward. Removed the "Auto gain" toggle from `OMNY_XRayEye`
|
||||
entirely (`_init_ui`, `getting_camera_status`, `_queue_guarded_toggles`,
|
||||
`auto_gain_enabled_changed`) — `auto_gain_enabled` is now purely an internal
|
||||
connect-time mechanism (still on `IDSCamera.USER_ACCESS` via `set_auto_gain_enabled()`
|
||||
for scripted use), not a persistent GUI control.
|
||||
- **Bug**: the pixel-clock slider raised `failed to set pixel_clock=<N> on hardware`
|
||||
for essentially every value dragged to (49, 60, 73 MHz all failed on camera 41). Root
|
||||
cause: `get_pixel_clock_range()`'s (min, max, increment) describes a *linear* range,
|
||||
but `IS_PIXELCLOCK_CMD_SET` doesn't actually accept every value in it — many uEye
|
||||
sensors only support a short discrete list of pixel clocks. Added
|
||||
`Camera.get_pixel_clock_list()` (`IS_PIXELCLOCK_CMD_GET_NUMBER` +
|
||||
`IS_PIXELCLOCK_CMD_GET_LIST`, the SDK's authoritative source for what's actually
|
||||
settable) and `IDSCamera.get_pixel_clock_list()`. `IDSCamera.set_pixel_clock()` now
|
||||
snaps to the nearest value in that list before writing, instead of passing the raw
|
||||
slider value straight to the driver — so the widget doesn't need to know about the
|
||||
discrete list itself; it just gets a corrected value back on the next
|
||||
`device_read_configuration` message, same round-trip pattern as everything else here.
|
||||
Reference in new issue
Block a user