Learned Friends:
I am having trouble with the breakpoint table conversion in an analog input record.
The definitions of the offending records are attached below.
EPICS versions tried are 3.14.9 and 3.14.10.
"calib1" is an ai record of type "Raw Soft Channel."
It should convert its raw value via the .LINR = typeKdegC breakpoint table.
Instead, VAL is equal to RVAL and STAT is "Soft."
"calib2" is a copy of "calib1" but uses .LINR = LINEAR.
It works fine.
Theyr'e both shown in this CSS screen shot:
https://www.msu.edu/~steine13/css_bpt.png
Any help or suggestions is greatly appreciated.
Thanks,
-Mathias
Mathias Steiner
Michigan State University
517-908-7423
# This provides the raw input value
record(ao, "mste:calinp")
{
field(DESC, "input to calib1; bpt test")
field(VAL, "5")
field(PREC, "2")
}
record(ai, "mste:calib1")
{
field(DESC, "testing breakpoint table")
field(DTYP, "Raw Soft Channel")
field(PREC, "2")
field(INP, "mste:calinp CP NMS")
field(LINR, "typeKdegC")
}
record(ai, "mste:calib2")
{
field(DESC, "calibration test 2")
field(DTYP, "Raw Soft Channel")
field(PREC, "2")
field(INP, "mste:calinp CP NMS")
field(LINR, "LINEAR")
field(ESLO, "10.0")
field(EOFF, "100.0")
}