Experimental Physics and
| |||||||||||||||||
|
unfortunately EPICS does not support this. What I normally do is to write a 1 to <record>.PROC via ca_sg_put. This call completes when the the record has finished processing. (You can also use ca_put_callback instead.) Then, I read the value with a ca_get. Of course, this is not an atomic action as there are two channel access calls involved. That means, it is possible that a second client processes the record again before you could read and you will read his value instead of yours. But this is normally not a problem. It is a pity that EPICS leaks atomic process-and-read and read-modify-write calls. Dirk Dehong Zhang wrote: Hi,
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |