EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam
From: Emmanuel Mayssat <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 4 Apr 2013 17:14:21 -0700
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
and
 field(INP,  "@asyn(asynPort,2,$(asynTimeout))REASON")
and with 
 field(PINI, "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?

--
Emmanuel


Replies:
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers

Navigate by Date:
Prev: Re: EPICS performance test/benchmark Andrew Johnson
Next: RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS performance test/benchmark Andrew Johnson
Next: RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·