Skip to content

Obtain PV control values for the purpose of setting enum strings. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hinxx
Copy link
Contributor

@hinxx hinxx commented Mar 14, 2025

I'm seeing self._data['enum_strs'] being set to None if I call enumStrings() after the enum PV received a value update. I got this explanation from pyepics pyepics/pyepics#276.

For me, the problem is solved by this PR, for example:

if self.isIoConnected() and self.isIoInitialized():
    self.pv_mode.enumStrings()

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