I would like to replace a few of my existing CALC records (polynomial transformation) with simple breakpoint tables. Let's assume that my raw values are voltages between 0 and 5V, I could therefore build a transformation table as follow:
Although the table allows for double/float transformation, to my surprise, the RAW value stored in the AI record is an integer. Maybe is it because of my INP link...
This record is supposed to be the raw value clsXdev:6175>dbpr RECORDS:BrkpntTable:Rdbck:RawAI ASG: DESC: Raw readback DISA: 0 DISP: 0 DISV: 1 NAME: RECORDS:BrkpntTable:Rdbck:RawAI RVAL: 0 SEVR: NO_ALARM STAT: NO_ALARM SVAL: 0 TPRO: 0 VAL: 1.111
Which is transformed in another ai record (which has its INP field pointing to the above record).