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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: problem using epid record
From: Ralph Lange <[email protected]>
To: Maurizio Montis <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 26 Aug 2009 09:01:00 -0400
OK, Maurizio, I think I have an idea now where you're at.

Background and bottom line of Mark Rivers' statement:
You will want to keep library-type (aka "support") modules, e.g. EPICS Base as well as other record, device, and driver support modules, apart from your application (aka "ioc") modules: in the end you will have many ioc applications that need the same external module (in this case the epid record), and you certainly don't want to keep many copies of the the same library source code distributed everywhere.

So - even if it sounds more complicated at the moment - please follow the approach that Mark suggests: install and compile the std module from synApps in a separate location (i.e. NOT in the same structure as your ioc app), and make your ioc app structure point to it by adding the STD=<location> line in your app's .../configure/RELEASE file.

As soon as you add your second and third ioc app structure, more external modules, and maybe another version of synApps, you will easily see why it was a good idea to start with the clean structure from the very beginning instead of mixing libraries and applications.

Good luck!
Ralph


Maurizio Montis wrote:
Hello Ralph,
thanks a lot for your help.

I tried to modify the file as you told me, but i have the same problem.
The epid record consists of these files:
- devEpidSoft.c , epidRecord.c and epidRecord.dbd in .../src
- mono_pid_control.db and pid_control.db in ..../Db

I created a new ioc with the MakeBaseApp script and i put these file
in the corresponding directories, i modified the Makefile in .../src
adding the following commands:
1) testPID_DBD += epidRecord.dbd
2) testPID_LIBS += epidRecord (before the $(EPICS_BASE_IOC_LIBS) )
3) testPID_LIBS += devEpidSoft (before the $(EPICS_BASE_IOC_LIBS) )

i changed the Makefile in the .../testPIDApp/Db filder adding the db file:
DB += mono_pid_control.db
DB += pid_control.db

and i modified the RELEASE file ad you suggested:
EPID=/home/monti/pid/test/testPIDApp/src

after this i tried to compile first in the ../configure  and then in
the top directory (i made a make clean uninstall before the last
recompile).
Did i forget to do something?

Maurizio M.


References:
problem using epid record Maurizio Montis
Re: problem using epid record Ralph Lange

Navigate by Date:
Prev: RE: problem using epid record Mark Rivers
Next: re: How to let Hytec8401ADC works on interrupt way ? liuping
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: problem using epid record Ralph Lange
Next: requesting help for Running VDCT using JRE D.Chinnadurai
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·