My understanding of maxAddr is that the parameter library is an array of param lists x maxAddr
So if I set the asynAddress to a value between 0 and maxAddr, I should be able to 'browse' the whole parameter library.
In other words, 2 records with the INP field as
field(INP, "@asyn(asynPort,1,$(asynTimeout))REASON") <-- asynAddress = 1
should immediately read different values.
A quick test with
/* setDoubleParam(0, P_Reason, 1.0) */
setDoubleParam(1, P_Reason, 2.0)
setDoubleParam(2, P_Reason, 3.0)
in asynPortDriver constructor and after firing up the ioc, both of the records want to read the address 0.
Are those addresses related? What am i missing?