Heinrich -
There is a built-in <and functional> "template" that gives a complete example (dbd files, Makefile, c-code, st.cmd file) for adding your own custom record. Look at the IOC Application Developer's Guide, Example IOC Application (Section 2.2 in 3.14.9 version).
Specifically, look at the src directory after you perform the two makeBaseApp commands specified in Section 2.2.2.
HTH -
Ned
________________________________
From: [email protected] on behalf of Heinrich du Toit
Sent: Fri 7/6/2007 3:45 AM
To: TechTalk EPICS
Subject: trouble with custom record
Ok so I read all the stuff on custom records.. And I think I understand
the programming part and how the functions should get called ect ect.
But I can't seem to get the things to compile?
I have myRecord.dbd with record def inside. dbToRecordH thingy works
I have myRecord.c with the code. It can compile fine.
But I can't seem to get this to load into the actual ioc.
When I try to DBLoadDataBase(myRecord.dbd) then it complains about
dbCommon.dbd not available.
If I try to load myRecord.dbd as part of my ioc.dbd with the makefile
the I get some error in ioc_registerRecordDeviceDriver.cpp
if I try to get it to "expand" a new .dbd for my record it complains
about menu stuff missing.
help?
- References:
- trouble with custom record Heinrich du Toit
- RE: trouble with custom record Mark Rivers
- Navigate by Date:
- Prev:
RE: trouble with custom record Mark Rivers
- Next:
EPICS Web server upgrade tomorrow Andrew Johnson
- 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:
RE: trouble with custom record Mark Rivers
- Next:
EPICS Web server upgrade tomorrow Andrew Johnson
- 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
|