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  <20132014  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  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS Record Support
From: Mark Rivers <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 5 Mar 2013 02:29:45 +0000
If you use the makeBaseApp.pl perl script in base it will create an example application that shows you how to do this.

exampleApp/src/xxxSupport.dbd contains these lines:
corvette:example/exampleApp/src>more xxxSupport.dbd 
include "xxxRecord.dbd"


exampleApp/src/Makefile contains these lines:

# xxxRecord.h will be created from xxxRecord.dbd
DBDINC += xxxRecord
# Install devXxxSoft.dbd into <top>/dbd
DBD += xxxSupport.dbd

# Compile and add the code to the support library
exampleSupport_SRCS += xxxRecord.c
exampleSupport_SRCS += devXxxSoft.c

...
# example.dbd will be made up from these files:
example_DBD += base.dbd
example_DBD += xxxSupport.dbd
example_DBD += dbSubExample.dbd
...

So you basically need to include xxxRecod.dbd into your application dbd file, and you need to link with a library that contains the compiled code from xxxRecord.c.

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Monday, March 04, 2013 8:15 PM
To: [email protected]
Subject: EPICS Record Support

hello:

I have write a new sample record type(including xxxRecord.dbd、xxxRecord.c).
How could I apply or compile it to my own IOC application.
The edition of EPICS base I used is 3.14.x.

Could you help me?
Thank you!





References:
EPICS Record Support ahwwq

Navigate by Date:
Prev: EPICS Record Support ahwwq
Next: Re: getBounds Zenon Szalata
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS Record Support ahwwq
Next: RE: EPICS Record Support luedeke
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·