Experimental Physics and Industrial Control System
Hi,
writing C code for a IOC command, using dbChannel functions.
############################################################################
## EPICS R7.0.9.1-DEV
## Rev. R7.0.9-33-g7372b4e5bb0a5ab75e54
## Rev. Date Git: 2025-04-04 09:17:16 -0500
############################################################################
… h64/include -c ../threadExample.c
../threadExample.c:118:58: error: incomplete definition of type ‘struct dbFldDes'
118 | printf(“ FldDes name = %s\n", dbChannelFldDes(chan)->name);
| ~~~~~~~~~~~~~~~~~~~~~^
/Users/junkes/EPICS/epics-base/include/dbAddr.h:15:8: note: forward declaration of 'struct dbFldDes'
15 | struct dbFldDes;
| ^
Adding #inlcude “dbBase.h”
leads to :
...
In file included from /Users/junkes/EPICS/epics-base/include/dbBase.h:19:
/Users/junkes/EPICS/epics-base/include/dbFldTypes.h:25:5: error: expected identifier
25 | DBF_STRING,
| ^
/Users/junkes/EPICS/epics-base/include/db_access.h:56:25: note: expanded from macro 'DBF_STRING'
56 | #define DBF_STRING 0
| ^
In file included from ../threadExample.c:21:
In file included from /Users/junkes/EPICS/epics-base/include/dbBase.h:19:
/Users/junkes/EPICS/epics-base/include/dbFldTypes.h:26:5: error: expected identifier
26 | DBF_CHAR,
| ^
…
What am I doing wrong?
Danke Heinz
------------------------------------------------------------------------------
Fritz-Haber-Institut | Phone: (+49 30) 8413-4270
Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900
Faradayweg 4-6 | VC: https://zoom.fhi.berlin/junkes
D - 14195 Berlin | E-Mail: junkes at fhi-berlin.mpg.de
------------------------------------------------------------------------------
“Sorry I’m a bit late, had a terrible time…
All sort of things cropping up at the last moment. Uh, how are we for time?”
—Zarquon's address to Milliways
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- Navigate by Date:
- Prev:
RE: Process PINI-Record again as soon as device is reconnected Pearson, Matthew via Tech-talk
- Next:
StreamDevice and AMSG field Neidherr, Dennis Dr. via Tech-talk
- 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
<2025>
- Navigate by Thread:
- Prev:
Re: Process PINI-Record again as soon as device is reconnected Dr. Simon Friederich via Tech-talk
- Next:
StreamDevice and AMSG field Neidherr, Dennis Dr. via Tech-talk
- 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
<2025>