Creating a local copy of a PV #3213
Replies: 2 comments 6 replies
-
No sure this answers your question, but a local PV may be of array type. For instance, if a XY Plot widget is configured like so: |
Beta Was this translation helpful? Give feedback.
-
Hi George, thanks for the response. I've got some other ideas so it may not be necessary to use Local PVs, but I'm expecting local PVs would be more responsive for things like mouse interaction, so would be favourable if it's possible to implement this way. |
Beta Was this translation helpful? Give feedback.
-
One of the main parts of the work I've been planning to do for #3167 is reliant on copying a Live PV to some type of local PV/datastructure.
It needs to have both a "Live" and corresponding "edited" trace on the plot so changes can be made through mouse interaction without immediately pushing updates to the original. Having a local PV copy the original's contents means that it can be edited and manipulated as much as necessary before the live values are updated.
Is it possible to dynamically create local PVs based on the traces provided for a Plot (in/at start of runtime), or would each plotted PV/trace we want to be editable have to have a local copy defined in the .bob file (perhaps generated when adding a new widget for this functionality)?
Either way, ideally I'd be looking for some way to make this mostly automatic, besides flagging the traces/graph as editable in the first place.
Could anyone give some pointers on this? I'm still pretty new to Phoebus so anything would help really.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions