Skip to content

Conversation

@Jyppara
Copy link
Contributor

@Jyppara Jyppara commented Sep 14, 2025

This PR fixes the documentation typo in the TLPMX.py for the getPowerAutorange-function.

The current docstring of the function states that both TLPM_AUTORANGE_POWER_OFF and TLPM_AUTORANGE_POWER_ON have the same value 0. According to the constants defined inside the file TLPM_AUTORANGE_POWER_ON should be 1 (not 0).

Changes:

  • Changed the docstring to reflect the correct value for TLPM_AUTORANGE_POWER_ON

@gboedecker gboedecker self-assigned this Sep 15, 2025
Copy link
Contributor

@gboedecker gboedecker left a comment

Choose a reason for hiding this comment

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

Thanks

@manzelmi-thorlabs manzelmi-thorlabs merged commit a3f711b into Thorlabs:main Sep 23, 2025
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