slaclab / pydm

Python Display Manager
http://slaclab.github.io/pydm/
Other
111 stars 76 forks source link

ENH: Rpc support #1052

Closed nstelter-slac closed 1 month ago

nstelter-slac commented 7 months ago

Add support for RPC using p4p extension (https://mdavidsaver.github.io/p4p/rpc.html).

More context here: https://github.com/slaclab/pydm/issues/1035

Could expand to have RPC address editor in designer

nstelter-slac commented 7 months ago

https://mdavidsaver.github.io/p4p/client.html#p4p.client.thread.Context.rpc

nstelter-slac commented 2 months ago

to test real PV, have setup the prod-on-dev env, then:

cd examples/rpc pydm rpc_labels.ui ->open in designer and modify one of the labels to have address: pva://KLYS:LI12:11:ATTN_CUR&

can also try it with polling: pva://KLYS:LI12:11:ATTN_CUR&pydm_pollrate=3.0