EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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 1994  1995  1996  <19971998  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: Building a list of Channel ID's
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Mon, 07 Apr 1997 08:51:21 -0500
Andy Foster wrote:
> 
> I am trying to write a program which builds a list of the
> channel id's for certain fields in a particular type of record
> in an active database.
> 
> I can see how do to this using a program similar to
> dbDumpRecords (in the IOC developers guide) and using the
> "ca_search" routine from the CA library.
> 
> However, when including both "dbStaticLib.h" and "cadef.h" in the
> same file, I get lots of redefinition warnings and the code does
> not compile. I got round this by creating separate files for each
> routine in my program. Should I need to do this? What am I doing wrong?
> I am using 3.12.2.

The problem is that old and new database access (db_access.h and
dbAccess.h).
use some common DBF_XXX and DBR_XXX names with different values.
Since channel access uses old database access, calls to it can not be
mixed
with code that includes dbStaticLib.h or dbAccess.h.

Sorry,

Marty


References:
Building a list of Channel ID's Andy Foster

Navigate by Date:
Prev: Re: Capfast symbols F. Gougnaud
Next: Re: ioc re-connect problem Alan K Biocca
Index: 1994  1995  1996  <19971998  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: Building a list of Channel ID's Andy Foster
Next: Re: Building a list of Channel ID's Bob Dalesio
Index: 1994  1995  1996  <19971998  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 ·