How to use org.phoebus.pv.PV.asyncRead() #1896
Replies: 3 comments 7 replies
-
The connection. asyncRead and asyncWrite are based on the EPICS idea of a read-callback and write-callback. A short asyncRead could be done like this:
|
Beta Was this translation helpful? Give feedback.
-
.. then there's likely no need for the asyncRead, because again that can trigger side effects on the IOC. This would do it for one PV:
If you have multiple PVs, you can create a |
Beta Was this translation helpful? Give feedback.
-
I would not put |
Beta Was this translation helpful? Give feedback.
-
I'm a bit uncertain about how to use the PV.asyncRead() method. There is but one occurrence in the Phoebus source (in scan server). I was assuming the API could be used like so:
However, I'm getting:
Using the onValueEvent().subscribe() API works fine, though.
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions