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
<2013>
2014
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
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|