Experimental Physics and
| |||||||||||||||
|
Bob Dalesio wrote: I would put it into the device support initialization area - Would you worry that one cannot guess what the options might be from an inspection of the .db file? Do you think it might be prudent to put default values in the .db file, or would that just cause more confusion if/when the defaults are overwritten by the device support record initialization? A problem would be if the assignment of these values can change. Channel access clients monitor the value as a short and only send the string assignments at connection time. So that is a possible problem. If they can change - you may want to map them from a static assigment to the dynamic values in the device support only - and not export the fact that the strings are assigned different values at different times. Good point! For the H/W I had in mind, the configuration could only take place with the H/W off-line. If bringing the H/W back online requires an IOC re-initialization, then I infer that problem is moot. If, however, the H/W is expected to be reconfigured online (e.g. if it is connected via ethernet or a "field bus"), then it requires the special care you mention. -- Larry
| ||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |