Skip to content

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

Open
hinxx wants to merge 5 commits intodarcato:masterfrom
hinxx:master
Open

Obtain PV control values for the purpose of setting enum strings.#8
hinxx wants to merge 5 commits intodarcato:masterfrom
hinxx:master

Conversation

@hinxx
Copy link
Copy Markdown
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