Hi Ralph
Sorry I took out the 'extra'
INPA
record(acalcout,
"$(dev):$(axis)_calc_offset") {
field(PINI, "YES")
field(DTYP, "Soft Channel")
field(NELM,
"48")
field(INPA, "$(dev):$(axis)range")
field(INAA,
"$(dev):$(axis)_raw_cur.AVAL")
field(INBB,
"$(dev):$(axis)_offset1.AVAL")
field(INCC,
"$(dev):$(axis)_offset2.AVAL")
field(INDD,
"$(dev):$(axis)_offset3.AVAL")
field(INEE,
"$(dev):$(axis)_offset4.AVAL")
field(INFF,
"$(dev):$(axis)_offset5.AVAL")
field(INGG,
"$(dev):$(axis)_offset6.AVAL")
field(OOPT, "Every Time")
field(DOPT, "Use CALC")
field(CALC, "@@(@0)=AA") # here
Range is index to offset-Array of that range
}