Experimental Physics and
| |||||||||||||||
|
Instead of using a 'sub' / 'gensub' record at all I prefer to write device supports for calculations.Unrelated question is, Is it possible to modify a field value in a recordYes, but it's not a good idea to do it. Better to use the genSub record, because it has output links. It is easier to extend and each record type is native, e.g. it has alarm limits, units, dead bands, etc. You can connect an arbitrary number of records to one device support. E.g. use 'ao' records to input to the device support and 'ai' records as containers for the calculation results. The DTYP specifies the device support and INP/OUT links specify the input/output variable in my device support. An additional 'ao' record can copy the result to your field of another record. - - Andreas
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |