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  <20182019  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Recipe for creating a new record
From: Mark Rivers <[email protected]>
To: "Lucock, Richard M" <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 12 Mar 2018 11:16:42 +0000
Hi Richard,


I don't know of a tutorial.  But the makeBaseApp.pl script in EPICS base creates an application that defines a new record type, xxxRecord.


That example contains a src/ directory with Makefile, xxxRecord.dbd, and xxxRecord.c, and a Db directory with an example database, dbExample1.db.   This shows you how to do it.


There are several real-world examples in the synApps source code.


https://github.com/epics-modules/motor  motor record

https://github.com/epics-modules/asyn  asyn record

https://github.com/epics-modules/mca  mca record


Mark



________________________________
From: [email protected] <[email protected]> on behalf of Lucock, Richard M <[email protected]>
Sent: Monday, March 12, 2018 3:20 AM
To: [email protected]
Subject: Recipe for creating a new record

Hi,

        As part of learning about epics, I would like to try creating
a new record type (I am aware that using existing types, if possible,
is recommended), but I haven't been able to find any sort of recipe
for going about it. I have found information on how to write the
actual code, but nothing about setting up the directory structure,
what to add to '.db' files, configure files, etc. Can anyone point me
at a tutorial for this ?

Thanks,
        Richard

References:
Recipe for creating a new record Lucock, Richard M

Navigate by Date:
Prev: Re: no device support in ACRScr motor Mark Rivers
Next: Re: StreamDevice with Telnet port Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Recipe for creating a new record Lucock, Richard M
Next: Re: Recipe for creating a new record Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 12 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·