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  <20212022  2023  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: VisualDCT doesnt load .dbd or .db files
From: "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov>
To: Hugo Slepicka <hhslepicka at gmail.com>, "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 7 Apr 2021 12:04:30 +0000
Hello community

Indeed i wasnt loading the right expanded .dbd file. I ran makeBaseApp.pl just to make an example IOC that i could compile quickly, then tried to open the .dbd file after compiling and it worked just fine. Thanks so much for the help!

Marco

From: Hugo Slepicka <hhslepicka at gmail.com>
Sent: 06 April 2021 14:40
To: Johnson, Andrew N. <anj at anl.gov>
Cc: Kyle Hesse <hesse at jlab.org>; Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Re: VisualDCT doesnt load .dbd or .db files
 
Hi Marco,

The launcher for VisualDCT sends in the definition of EPICS_DB_INCLUDE_PATH (https://github.com/epics-extensions/VisualDCT/blob/master/visualdct.sh#L18).
If you define EPICS_DB_INCLUDE_PATH to point to your <EPICS_BASE_FOLDER>/db it should work fine.

Cheers,
Hugo

On Tue, Apr 6, 2021 at 10:30 AM Johnson, Andrew N. via Tech-talk <tech-talk at aps.anl.gov> wrote:

On Apr 6, 2021, at 10:44 AM, Kyle Hesse wrote:
>
> Try adding the path to your dbd file in your db file. The link below offers an example under section 6.2.

TBH I don't think that will help, it should be possible to load a DBD file by hand without such a reference in it; if you later save the edited DB file it will get a reference to the DBD file like that included automatically.


> I have downloaded the latest release of VisualDCT via the github link (https://github.com/epics-extensions/VisualDCT/releases) to edit database files via the interface. When i try to execute the .jar file, a browsing window shows up to let me select a .db or .dbd file but after i select it the window closes and nothing happens. If i try to execute the program via the command java -jar VisualDCT.jar dbdfile.dbd dbfile.db (the files are in the same directory of the terminal) it generates the following message:
>
> Loading VisualDCT v2.8.2...
>
>
> Directive to load DBD: 'mvc3Include.dbd'.
> Directive to load DB: 'mvc3_channel.db'.
> No DBD loaded! Exiting...
>
> I suspect its something  with my java configurations but im not sure. Does anyone knows if i am doing something wrong? Thanks in advance.
> Obs: i am operating it in a ubuntu 20.04.2 LTS

The fact that you got the “Directive to load” messages indicates that you have almost certainly installed and configured it properly.

I think the problem is that you aren’t loading a fully expanded DBD file. VisualDCT doesn’t know where your EPICS Base installation is, so it can’t use the mvc3Include.dbd file that you’re giving it because that file mostly only contains a list of names of other DBD files that also need to be loaded. It needs the expanded version, which is probably called mvc3.dbd and should be found in your application’s dbd directory after you have run ‘make’ at least once to build it.

Please try that and let us know if it now works.

- Andrew


--
Complexity comes for free, simplicity you have to work for.


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:
VisualDCT doesnt load .dbd or .db files Marco A. Barra Montevechi Filho via Tech-talk
Re: VisualDCT doesnt load .dbd or .db files Kyle Hesse via Tech-talk
Re: VisualDCT doesnt load .dbd or .db files Johnson, Andrew N. via Tech-talk
Re: VisualDCT doesnt load .dbd or .db files Hugo Slepicka via Tech-talk

Navigate by Date:
Prev: Re: Handling Ethernet-to-Serial Connection when vendor SDK expects tty device Mark Rivers via Tech-talk
Next: Re: phoebus LED in boolean button Hu, Yong 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: VisualDCT doesnt load .dbd or .db files Hugo Slepicka via Tech-talk
Next: line scan camera with ADAravis driver skips frames Katie Matusik 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  <20212022  2023  2024 
ANJ, 07 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·