1994 1995 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 2025 | Index | 1994 1995 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 2025 |
<== 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 |
Hi Pavel,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.
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?
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