Experimental Physics and Industrial Control System
I now realize that it's only registerRecordDeviceDriver.pl which should
allow auto-declaration of record types; dbdExpand.pl should throw an
error if the parser sees a device support reference to a record type
that doesn't exist. This means no build-system flag should be required
for building device support into a loadable module, which simplifies the
fix to Perl code changes only.
I have closed the previous PR and created https://github.com/epics-base
/epics-base/pull/112 with this approach instead.
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1908305
Title:
Default DTYP can be changed by DBD file order
Status in EPICS Base:
In Progress
Bug description:
Kay Kasemir reported:
I was always silently expecting that a record from a *.db file that
doesn't specifically list the DTYP would default to "Soft Channel".
Example:
record(ai, "XXX")
{
field(INP, "SomeOtherRecord")
}
just works because the field DTYP="Soft Channel" is the default.
Now I notice that at least with R7.0.3.1, the default is not "Soft
Channel" but whatever is listed first in the *.dbd file. If that file
looks like this:
device(ai, CONSTANT, devAiSoft, "Soft Channel")
device(ai, INST_IO, devAiXXXX, "MyDeviceSupport")
then the default for an ai record DTYP is indeed "Soft Channel".
But if I put "MyDeviceSupport" on top, that becomes the default, as
can happen when you change the order of XXX_DBD file entries in the
Makefile.
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1908305/+subscriptions
- Navigate by Date:
- Prev:
Build failed in Jenkins: epics-example-win64 #609 APS Jenkins via Core-talk
- Next:
Build failed: epics-base base-integration-627 AppVeyor via Core-talk
- Index:
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:
Build failed: EPICS Base 7 base-7.0-157 AppVeyor via Core-talk
- Next:
[Bug 1908305] Re: Default DTYP can be changed by DBD file order Andrew Johnson via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024