Experimental Physics and
| |||||||||||||||
|
I have what I believe to be a very basic EPICS question. I'm new to ioc programming, so bear with me, please. Let "a" and "b" be analog input records, passive, initialized to 1. On the same ioc as those two, define record(calc, "answr") { ... field(INPA, "a.VAL PP NMS") field(INPB, "b.VAL CP NMS") field(CALC, "A+B") ... } As the ioc starts up, the value of "answr" is 2, as expected. My question is this: When "a" is set to another value, does "answr" process? Also, when "b" is set to a different value, does "answr" process? In other words, does a change in the linked record lead to processing of the linking record, and does it do so for both database links and channel access links? The reason I'm asking is that in my application, only the channel access link causes "answr" to process, the database link doesn't, and we couldn't agree on what was supposed to happen. Cheers, and Thanks in advance, -Mathias
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |