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: Re: AW: [asyn] link already open!
From: Pavel Maslov <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 13 Aug 2013 17:20:14 +0200
Do you mean, although I am building my support module with base.dbd included, I may provide my own  *_registerRecordDeviceDriver.cpp file (corrected one - comment out everything  related to base.dbd) and get away with it?

-- 
Regards,


Pavel Maslov, MS



On Tue, Aug 13, 2013 at 5:03 PM, Andrew Johnson <[email protected]> wrote:
Hi Pavel,


On 08/13/2013 03:43 AM, Pavel Maslov wrote:
Andrew, but can I get away with including base.dbd in the support
module? What if it's included in the main IOC for the second time?

I haven't tried it and I wouldn't recommend it, that could result in all the record types, soft device support and other items getting registered twice, which I suspect might have nasty consequences.

Take a look at the *_registerRecordDeviceDriver.cpp file that gets generated in your IOC's build directory and see what it is doing.  You could create an equivalent source file to this by hand for the things that are in each module if you wanted to, but you would have to repeat that process any time you upgraded a module.  You have already experienced the weird kinds of errors that can occur if you get this stuff wrong though.


- Andrew
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock


Replies:
Re: AW: [asyn] link already open! Andrew Johnson
References:
[asyn] link already open! Pavel Maslov
RE: [asyn] link already open! Mark Rivers
Re: [asyn] link already open! Pavel Maslov
RE: [asyn] link already open! Mark Rivers
Re: [asyn] link already open! Pavel Maslov
Re: [asyn] link already open! Dirk Zimoch
Re: [asyn] link already open! Pavel Maslov
Re: [asyn] link already open! Pavel Maslov
Re: [asyn] link already open! Dirk Zimoch
Re: [asyn] link already open! Pavel Maslov
AW: [asyn] link already open! Zimoch Dirk
Re: AW: [asyn] link already open! Andrew Johnson
Re: AW: [asyn] link already open! Pavel Maslov
Re: AW: [asyn] link already open! Andrew Johnson

Navigate by Date:
Prev: Re: AW: [asyn] link already open! Andrew Johnson
Next: Re: AW: [asyn] link already open! Andrew Johnson
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: AW: [asyn] link already open! Andrew Johnson
Next: Re: AW: [asyn] link already open! Andrew Johnson
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 ·