Skip to content
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

Add ability to pull a list value out in a pydm widget #1018

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

slacrherbst
Copy link
Contributor

This add the ability to display a single list value in a pydm widget. Example channel value to achieve this is:

rogue://0/root.AxiVersion.TestListA/disp/3

There the last value is the index value.

There is a performance hit with this as the value has to be retrieved again to pull out the sliced value from the server:

def _updateVariable(self,path,varValue):

    if self._index != -1:
        varValue = self._node.getVariableValue(read=False, index=self._index)

@slacrherbst slacrherbst merged commit a3fff48 into pre-release Jul 31, 2024
5 checks passed
@slacrherbst slacrherbst deleted the ESROGUE-680 branch July 31, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants