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  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Std and Base duplicate definition of record type
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: João Pedro Burle Ishida <joao.ishida at lnls.br>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 21 Jun 2022 17:35:14 +0000

Ø  Is that a new standardizing pattern, creating and using the xxxSuport.dbd instead of xxx.dbd?

 

I don’t think it is new, but it is the way most synApps modules are written.  This is the list of all files with that name pattern in my synApps tree:

corvette:~/devel>ls -l *-*/dbd/*Support.dbd

-r--r--r-- 1 epics domain users     26 May 29 08:20 alive-1-4/dbd/aliveSupport.dbd

-r--r--r-- 1 epics domain users    534 May 29 08:20 autosave-5-10-2/dbd/asSupport.dbd

-rwxrwxr-x 1 epics domain users    181 Jun 18 18:15 busy-1-7-3/dbd/busySupport.dbd

-rwxrwxr-x 1 epics domain users   1492 Jun 18 18:12 calc-3-7-4/dbd/calcSupport.dbd

-r--r--r-- 1 epics domain users    181 Mar 12  2021 camac-2-7-3/dbd/camacSupport.dbd

-r--r--r-- 1 epics domain users    242 Mar 12  2021 camac-2-7-3/dbd/devCamacSupport.dbd

-r--r--r-- 1 epics domain users     30 May 29 08:20 dac128V-2-10-1/dbd/dac128VSupport.dbd

-r--r--r-- 1 epics domain users    120 May 29 08:24 dante-1-1/dbd/mcaDanteSupport.dbd

-r--r--r-- 1 epics domain users    317 May 29 08:21 delaygen-1-2-3/dbd/delaygenSupport.dbd

-r--r--r-- 1 epics domain users     36 May 29 08:21 delaygen-1-2-3/dbd/nigpibSupport.dbd

-r--r--r-- 1 epics domain users    102 May 29 08:24 dxp-6-0/dbd/dxpSupport.dbd

-r--r--r-- 1 epics domain users    102 May 29 08:24 dxpSITORO-1-2/dbd/dxpSITOROSupport.dbd

-r--r--r-- 1 epics domain users   2628 May 29 08:20 ip-2-21-1/dbd/ipSupport.dbd

-r--r--r-- 1 epics domain users   1373 May 29 08:20 ip-2-21-1/dbd/ipVXSupport.dbd

-r--r--r-- 1 epics domain users     26 May 29 08:20 ip330-2-10/dbd/ip330Support.dbd

-r--r--r-- 1 epics domain users     28 May 29 08:20 ipUnidig-2-12/dbd/ipUnidigSupport.dbd

-r--r--r-- 1 epics domain users    681 May 29 08:20 lua-3-0-2/dbd/luaSupport.dbd

-r--r--r-- 1 epics domain users    200 Jun 20 14:55 mca-7-9/dbd/SIS38XXSupport.dbd

-r--r--r-- 1 epics domain users     91 Jun 20 13:16 mca-7-9/dbd/mcaAmptekSupport.dbd

-r--r--r-- 1 epics domain users    100 Jun 20 14:55 mca-7-9/dbd/mcaBrukerQM100Support.dbd

-r--r--r-- 1 epics domain users    226 Jun 20 14:55 mca-7-9/dbd/mcaCanberraSupport.dbd

-r--r--r-- 1 epics domain users     91 Jun 20 14:55 mca-7-9/dbd/mcaRontecSupport.dbd

-r--r--r-- 1 epics domain users    298 Jun 20 14:55 mca-7-9/dbd/mcaSupport.dbd

-r--r--r-- 1 epics domain users     31 May 29 08:21 measComp-4-0/dbd/measCompDemoSupport.dbd

-r--r--r-- 1 epics domain users     96 May 29 08:21 measComp-4-0/dbd/measCompSupport.dbd

-r--r--r-- 1 epics domain users     69 May 29 08:20 modbus-3-2/dbd/modbusSupport.dbd

-r--r--r-- 1 epics domain users     28 May 29 08:21 motor-7-2-2/dbd/ACRMotorSupport.dbd

-r--r--r-- 1 epics domain users     52 May 29 08:21 motor-7-2-2/dbd/AMCISupport.dbd

-r--r--r-- 1 epics domain users     54 May 29 08:21 motor-7-2-2/dbd/ANF2Support.dbd

-r--r--r-- 1 epics domain users     54 May 29 08:21 motor-7-2-2/dbd/ANG1Support.dbd

-r--r--r-- 1 epics domain users     29 May 29 08:21 motor-7-2-2/dbd/LC400MotorSupport.dbd

-r--r--r-- 1 epics domain users     73 May 29 08:21 motor-7-2-2/dbd/MicronixSupport.dbd

-r--r--r-- 1 epics domain users     52 May 29 08:21 motor-7-2-2/dbd/NPointMotorSupport.dbd

-r--r--r-- 1 epics domain users    126 May 29 08:21 motor-7-2-2/dbd/PI_GCS2Support.dbd

-r--r--r-- 1 epics domain users     52 May 29 08:21 motor-7-2-2/dbd/ParkerSupport.dbd

-r--r--r-- 1 epics domain users    131 May 29 08:21 motor-7-2-2/dbd/motorSimSupport.dbd

-r--r--r-- 1 epics domain users    248 May 29 08:20 motor-7-2-2/dbd/motorSupport.dbd

-r--r--r-- 1 epics domain users     91 May 29 08:21 motor-7-2-2/dbd/omsAsynMAXnetSupport.dbd

-r--r--r-- 1 epics domain users    221 May 29 08:21 motor-7-2-2/dbd/omsAsynSupport.dbd

-r--r--r-- 1 epics domain users     27 May 29 08:21 motor-7-2-2/dbd/phytronSupport.dbd

-r--r--r-- 1 epics domain users    496 May 29 08:20 optics-2-13-5/dbd/opticsSupport.dbd

-r--r--r-- 1 epics domain users    367 May 29 08:20 scaler-4-0/dbd/scalerSupport.dbd

-r--r--r-- 1 epics domain users    233 May 29 08:20 softGlue-2-8-3/dbd/softGlueSupport.dbd

-r--r--r-- 1 epics domain users   1472 May 29 08:20 softGlueZynq-2-0-4/dbd/softGlueZynqSupport.dbd

-r--r--r-- 1 epics domain users     33 May 29 08:20 sscan-2-11-5/dbd/sscanProgressSupport.dbd

-r--r--r-- 1 epics domain users    945 May 29 08:20 sscan-2-11-5/dbd/sscanSupport.dbd

-r--r--r-- 1 epics domain users    732 May 29 08:20 std-4-0/dbd/stdSupport.dbd

-r--r--r-- 1 epics domain users    261 May 29 08:20 std-4-0/dbd/stdVXSupport.dbd

-r--r--r-- 1 epics domain users 471996 May 29 08:21 tpmac-3-11dls5/dbd/pmac-ethSupport.dbd

-r--r--r-- 1 epics domain users    581 May 29 08:20 vac-1-9-1/dbd/vacSupport.dbd

-r--r--r-- 1 epics domain users    188 May 29 08:20 vme-2-9-4/dbd/vmeSupport.dbd

-r--r--r-- 1 epics domain users   2970 May 29 08:20 vme-2-9-4/dbd/vmeVXSupport.dbd

-r--r--r-- 1 epics domain users     30 May 29 08:24 xspress3-2-6/dbd/xspress3Support.dbd


Mark

 

From: João Pedro Burle Ishida <joao.ishida at lnls.br>
Sent: Tuesday, June 21, 2022 12:29 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: RE: Std and Base duplicate definition of record type

 

Thank you Mark that has resolved the std.dbd issues.

Is that a new standardizing pattern, creating and using the xxxSuport.dbd instead of xxx.dbd?
Because I found a tech-talk from March that had the same issue with the modbus and modbusSupport.


De: Mark Rivers <rivers at cars.uchicago.edu>
Enviado: terça-feira, 21 de junho de 2022 14:22
Para: João Pedro Burle Ishida <joao.ishida at lnls.br>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Assunto: RE: Std and Base duplicate definition of record type

 

I suspect your application is confusing std.dbd and stdSupport.dbd.

 

std.dbd is a complete dbd file used for booting the test IOCs in the std module.  It contains the definitions from base.dbd.

 

stdSupport.dbd is the dbd file that you should be including in your application dbd file.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of João Pedro Burle Ishida via Tech-talk
Sent: Tuesday, June 21, 2022 12:16 PM
To: tech-talk at aps.anl.gov
Subject: Std and Base duplicate definition of record type

 

Hello,

I'm compiling an IOC which uses std-R3-6, asyn-R4-36,calc-R3-7-3, StreamDevice-2-8-9, autosave-R5-10, seq-2-2-6 and base R3.15.6 to talk to an equipment.

The IOC was compiling until the implementation of doAfterIocInit() of std.dbd, and use the seqSoftIoc.dbd  . Now when I compile appears these errors

 

perl -CSD /usr/local/epics-nfs/base/R3.15.6/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/usr/local/epics-nfs/base/R3.15.6/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/asyn-R4-36/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/calc-R3-7-3/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/StreamDevice-2-8-9/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/autosave-R5-10/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/seq-2-2-6/dbd -o cryostream800.dbd base.dbd std.dbd asyn.dbd calc.dbd drvAsynIPPort.dbd stream.dbd seqSoftIoc.dbd sncExample.dbd

dbdExpand.pl: Duplicate definition of record type 'sub'

Context: recordtype(sub) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd/std.dbd'

  while reading 'std.dbd' to create 'cryostream800.dbd'

dbdExpand.pl: Duplicate definition of record type 'mbbi'

Context: recordtype(mbbi) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/seq-2-2-6/dbd/seqSoftIoc.dbd' in recordtype(sub) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd/std.dbd'

  while reading 'seqSoftIoc.dbd' to create 'cryostream800.dbd'

I need these modules to implement some functions, but I can't figure out if the std.dbd has base.dbd included or how to fix it.

Thanks in advance and good morning,

João P. B. Ishida

 

Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.


References:
Std and Base duplicate definition of record type João Pedro Burle Ishida via Tech-talk
RE: Std and Base duplicate definition of record type Mark Rivers via Tech-talk
RE: Std and Base duplicate definition of record type João Pedro Burle Ishida via Tech-talk

Navigate by Date:
Prev: RE: Std and Base duplicate definition of record type João Pedro Burle Ishida via Tech-talk
Next: PVA monitor request parameters Pearson, Matthew via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: RE: Std and Base duplicate definition of record type João Pedro Burle Ishida via Tech-talk
Next: PVA monitor request parameters Pearson, Matthew via Tech-talk
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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·