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  <20162017  2018  2019  2020  2021  2022  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Automatic flat db generation
From: Luca Cavalli <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 1 Dec 2016 11:41:04 +0000
Hi all,

some times ago I proposed a patch to VisualDCT maintainers to rework a little
bit the scripts delivered with the tool.
The open issue on github is: https://github.com/epics-extensions/VisualDCT/issue
s/16

As suggested in EPICS training (Creating IOC Databases by Andrew Johnson) I use
.vdb as file extensionand and manually flat the db before IOC compilation.
.vdb and .db files are in the same *App/Db folder and the operation is very
error prone, since clicking on .vdb instead of .db file is quite easy.

In case the VisualDCT patch will be accepted, it would be nice to have the
following rule defined into RULES.Db.

DBDLIST := $(foreach dbd_dir,$(DBD_SEARCH_DIRS),$(patsubst %,-d %,$(wildcard
$(dbd_dir)/*.dbd)))

$(COMMON_DIR)/%.db: %.vdb
        @echo "Generating flat database from $<"
        @$(RM) $@
        @$(FLATDB) $(DBDLIST) $< $@ > /dev/null

And the definition of FLATDB in CONFIG_BASE.

Cheers,

Luca


________________________________

<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>

<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email [email protected] if you need assistance >>



Navigate by Date:
Prev: Re: SNL sequencer apparently losing connection to underlying network Kevin Meyer
Next: Re: SNL sequencer apparently losing connection to underlying network Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: sscan module difficulties with EPICS 3.15 base Mark Rivers
Next: hrSeqCt_ALL pv question 梁雅翔
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 01 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·