EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  Index 1994  1995  1996  <19971998  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 
<== Date ==> <== Thread ==>

Subject:
From: Jeff Hill <[email protected]>
To: "Eric Bjorklund (E-mail)" <[email protected]>, "Marty Kraimer (E-mail)" <[email protected]>, "Janet Anderson (E-mail)" <[email protected]>
Cc: "EPICS-tech-talk (E-mail)" <[email protected]>
Date: Sat, 13 Sep 1997 14:13:09 -0600
All,

I have recently made a change to the EPICS build system which allows new sub 
system
error codes to be defined without making source code changes in EPICS base. The 
immediate benefit will be that application developers will be able to define 
M_XXXX
subsystem codes for local drivers and device support without needing to modify
errMdef.h in EPICS base each time that a new version of base is installed.

The following steps will be required to install a new subsystem:
1) define error codes in your subsystems C header file as before
	(no change to past procedures here).
2) include lines as follow in the top of the header file in (1)
#ifndef M_xxxx
#define M_xxxx NNNN
#endif
Where M_xxxx is the subsystem's symbol name used when defining error
codes for your subsystem, and NNNN is a subsystem code which is
chosen to not conflict with any of the subsystems already defined
in "$(EPICS)/base/src/libCom/O.<arch>/errSymTable.c".
	(this step replaces past modification of errMdef.h)
3) Add lines as follows to "CONFIG_SITE" or "$(HOME)/EPICS_CONFIG".
	(no change to past procedures here).
ERR_S_FILES += <path>/<header file in (1)>.h
4) Rebuild EPICS (libCom and iocCore)
	(no change to past procedures here).

This change will show up in a future version of 3.13.

Details on how this was done:

I modified "makeStatTbl.pl", the perl utility that creates
"errSymTbl.c", so that it finds any M_xxxx definitions
in the applications header file. If any exist they are
replicated in "errSymTbl.c".

Jeff
______________________________________________________
Jeffrey O. Hill           Internet     [email protected]
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107


Navigate by Date:
Prev: Error in State Notation Language or Sequencer Users Guide Oleg A. Makarov
Next: Capfast symbols for transform or ANL motor record? William Lupton
Index: 1994  1995  1996  <19971998  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: Error in State Notation Language or Sequencer Users Guide Oleg A. Makarov
Next: Capfast symbols for transform or ANL motor record? William Lupton
Index: 1994  1995  1996  <19971998  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·