-
Notifications
You must be signed in to change notification settings - Fork 77
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
ENH: Rpc support #1052
ENH: Rpc support #1052
Conversation
Tests for checking if RPC request and for constructing p4p Value obj. Also now don't parse for RPC unless know its a valid request, and now able to emit discon signal when polling.
And have the thread be killed if the pydm window closes. Also now correctly have pollrate value as float.
Fixes issue where screen with many RPC widgets will stall when loading if can't connect to addresses (such as when not connected to the network).
Since should work with any widget that expects back a value to display (also works with byte-indicator widget)
… when disconnected with the widgets
to test real PV, cd examples/rpc can also try it with polling: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks! Examples well-explained and work fine, connecting to live data works fine, tests look good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and worked for me
6deb0ce
to
f86410e
Compare
Add support for RPC using p4p extension (https://mdavidsaver.github.io/p4p/rpc.html).
More context here: #1035
Could expand to have RPC address editor in designer