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

Fix SignalRW read_pv convert #93

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Fix SignalRW read_pv convert #93

merged 1 commit into from
Feb 16, 2024

Conversation

GDYendell
Copy link
Member

@GDYendell GDYendell commented Feb 16, 2024

The conversion was defaulting to use name + _RBV for read_pv, which is now not correct.

This fix makes SettingPair pass in the read_record so that the pv comes from the template.

It would probably be possible to refactor these classes so that more fields are required and checks for None can be removed.

The conversion was defaulting to use name + RBV for read_pv,
which is now not correct.

This fix makes SettingPair pass in the read_record so that
the pv comes from the template.

It would probably be possible to refactor these classes so that
more fields are required and checks for None can be removed.
@GDYendell
Copy link
Member Author

@gilesknap apologies you may need to check the convert you did for motor with this latest version. If you had SignalRWs the read_pvs will be wrong.

@GDYendell GDYendell merged commit b2f67a3 into main Feb 16, 2024
14 checks passed
@GDYendell GDYendell deleted the pv-macros-fix branch February 16, 2024 18:07
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