Skip to content

Touptek filterwheel calibration fix#102

Open
ntrost57 wants to merge 3 commits intoisbeorn:developfrom
ntrost57:fix/touptek-fw
Open

Touptek filterwheel calibration fix#102
ntrost57 wants to merge 3 commits intoisbeorn:developfrom
ntrost57:fix/touptek-fw

Conversation

@ntrost57
Copy link
Copy Markdown
Contributor

@ntrost57 ntrost57 commented Nov 3, 2025

🚀 Purpose

  • Fixes calibration issues with ToupTekAlike filter wheels, where control was returned before the filter wheel reached ready state
  • Fixes configuration issue, with different slot number configurations. Slot number configuration is now based on the internal filter list

🧪 How Was It Tested?

Tested with AFW-L (2025 version).

✅ PR Checklist

  • ✅ All unit tests pass
  • ✅ UI changes tested across Light, Dark, and Night themes (if applicable)
  • ✅ Plugin API compatibility reviewed
    • ✅ No breaking changes to interfaces
    • ✅ No changes to method/class signatures (especially optional parameters)
  • Changelog.md updated (if applicable)
  • Documentation updated (if applicable)

🔗 Related Issues

📸 Screenshots

📝 Additional Notes

@ntrost57 ntrost57 changed the title ttfw calibration fix Touptek filterwheel calibration fix Nov 3, 2025
sdk = sdk.Open(this.internalId);

// Read number of positions
sdk.get_Option(ToupTekAlikeOption.OPTION_FILTERWHEEL_SLOT, out var slotNum);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

we should still get the slot number, but only do the workaround for those that don't report the number.

What happens on the older wheels for this getter, does it return zero? if yes then just do the workaround when there are no slots reported.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Apparently, the new ones have internal storage. Not sure if they are already shipped. I have the AFW-L for testing, it always reports 7 after turning on.

lee-b pushed a commit to lee-b/nina-pins that referenced this pull request Apr 1, 2026
* switches

* fixing wrong aux_interface enum

* gauges and notify on (externally) changed values

* update
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.

2 participants