EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: devLib, locationProbe routine
From: [email protected] (Marty Kraimer)
Date: Wed, 26 Oct 1994 08:36:30 -0600
> From [email protected] Wed Oct 26 08:21 CDT 1994
> Date: Wed, 26 Oct 1994 13:19:11 BST
> From: Andrew Johnson <[email protected]>
> Subject: devLib, locationProbe routine
> To: EPICS Technical list <[email protected]>
> Priority: Normal
> Mime-Version: 1.0
> Content-Type> : > TEXT/PLAIN> ; > CHARSET=US-ASCII> 
> Content-Length: 1028
> 
> Am I right in thinking that the routine  locationProbe  in devlib returns 
> SUCCESS to indicate that the given address does *not* respond to VME accesses of 
> any size?  I presume the aim here is to indicate that this area of the memory 
> map is currently not used.

No it returns success (0) only if something responds AND no one else has
requested something from the rage of addresses requested. Thus ALL non 0
returns values are errors. 
> 
> Should I be using this in my driver to check that a board is present?  The older 

Yes you should.

> drivers use vxMemProbe, which returns OK if something responds.  It seems wrong 
> to expect an error code (S_dev_addressOverlap) as the status return indicating 
> success (ie board found), which is what I would have to do if I used the  
> locationProbe  routine.
> 
> Are there plans to modify the existing drivers to use the devLib facilities?
> 

Yes but we have not yet got around to doing this. We (Jeff Hill mainly) added
these routines with the intention of converting all existing drivers/devsup
but have not found time. Until everything is converted location Probe has
limited usefullness.


Marty Kraimer

Navigate by Date:
Prev: Re: get_convert_table and DBF_STRING sources Marty Kraimer
Next: Re: devLib, locationProbe routine Jeff Hill
Index: <19941995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: devLib, locationProbe routine Andrew Johnson
Next: Re: devLib, locationProbe routine Jeff Hill
Index: <19941995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·