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: Hugo Slepicka via Tech-talk <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 6 Apr 2021 10:40:28 -0700
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.


Replies:
Re: VisualDCT doesnt load .dbd or .db files Marco A. Barra Montevechi Filho via Tech-talk
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

Navigate by Date:
Prev: Re: VisualDCT doesnt load .dbd or .db files Johnson, Andrew N. 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 
Navigate by Thread:
Prev: Re: VisualDCT doesnt load .dbd or .db files Johnson, Andrew N. via Tech-talk
Next: Re: VisualDCT doesnt load .dbd or .db files Marco A. Barra Montevechi Filho 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 ·