On 6/23/23 4:29 PM, Leblanc, Gregory via Tech-talk wrote:
I think the EGUL and EGUF fields and
LINEAR for the LINR field might do the same thing, but I haven’t
quite parsed the aiRecord docs yet.
In LINR=Linear mode the ai's device support is responsible for
calculating ESLO and EOFF from EGUL and EGUF, but to do that it
needs to know what raw values map to the two ends of the
engineering-units range. When EPICS was developed an ai record would
normally have been connected to an ADC of a known width so that
range would be documented with the hardware, but stream-device can't
do that calculation unless there's a way of giving it the raw range
in the proto file (I don't think there is). Using LINR=Slope avoids
having to tell it, so in this case Slope is probably the better
solution.
- Andrew
--
Complexity is free, it's Simplicity that takes work.
|