EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: double defenition in Epics
From: "Liyu, Andrei" <[email protected]>
To: Jeff Hill <[email protected]>, [email protected]
Date: Sat, 09 Oct 2004 11:17:39 -0400
I re-read chapter 15 of App. Dev. Guide. 
1. server (IOC or soft IOC) uses new db access. CA uses old db access.
It is not well for one program (as Epics would like to be) but it isn't
deadly. Ok, I will split my code.
2. DB link uses CA too (if PV is placed in another server). But it is
like that db CA (chapter 15.8) hasn't monitor access. Am I right? From
another side from FRW, INP, OUT and other link field I don't feel
monitor usage too.

Andrei.

-----Original Message-----
From: Jeff Hill [mailto:[email protected]] 
Sent: Friday, October 08, 2004 8:19 PM
To: Liyu, Andrei; [email protected]
Subject: RE: double defenition in Epics


Liyu,

You are mixing the old and new database access interfaces in the same
program which isn't a good idea. That is, don't include db_access.h and
dbFldTypes.h into the same source code.

Jeff

> -----Original Message-----
> From: Liyu, Andrei [mailto:[email protected]]
> Sent: Friday, October 08, 2004 2:38 PM
> To: [email protected]
> Subject: double defenition in Epics
> 
> Hi,
> 	I decide to write Epics server that will take PV from another
> Epics server and use CA directly. And I see
> ==============
> C:\Epics\include\db_access.h(82) : warning C4005: 'DBR_SHORT' : macro
> redefinition
>         C:\Epics\include\dbFldTypes.h(75) : see previous definition of
> 'DBR_SHORT'
> C:\Epics\include\db_access.h(110) : warning C4005: 'DBR_GR_LONG' :
macro
> redefinition
>         C:\Epics\include\dbAccessDefs.h(44) : see previous definition
of
> 'DBR_GR_LONG'
> C:\Epics\include\db_access.h(111) : warning C4005: 'DBR_GR_DOUBLE' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(45) : see previous definition
of
> 'DBR_GR_DOUBLE'
> C:\Epics\include\db_access.h(118) : warning C4005: 'DBR_CTRL_LONG' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(46) : see previous definition
of
> 'DBR_CTRL_LONG'
> C:\Epics\include\db_access.h(119) : warning C4005: 'DBR_CTRL_DOUBLE' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(47) : see previous definition
of
> 'DBR_CTRL_DOUBLE'
> C:\Epics\include\db_access.h(120) : warning C4005: 'DBR_PUT_ACKT' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(82) : see previous definition of
> 'DBR_PUT_ACKT'
> C:\Epics\include\db_access.h(121) : warning C4005: 'DBR_PUT_ACKS' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(83) : see previous definition of
> 'DBR_PUT_ACKS'
> C:\Epics\include\db_access.h(125) : warning C4005: 'VALID_DB_REQ' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(85) : see previous definition of
> 'VALID_DB_REQ'
> C:\Epics\include\db_access.h(126) : warning C4005: 'INVALID_DB_REQ' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(86) : see previous definition of
> 'INVALID_DB_REQ'
> ===============
> 
> Have anybody comments?
> 
> Thank you - Andrei.



Navigate by Date:
Prev: RE: Not-a-number (nan) issues Lawrence T. Hoff
Next: Re: Not-a-number (nan) issues Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: double defenition in Epics Jeff Hill
Next: re[21]: Maxine Weeks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·