g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: Re: module_types.c
From: mrk@aps.anl.gov (Marty Kraimer)
To: lange@bii.bessy.de
Cc: tech-talk@aps.anl.gov
Date: Fri, 26 Jan 1996 08:15:32 -0600
> From lange@bii.bessy.de Fri Jan 26 04:48 CST 1996
> From: Ralph Lange <lange@bii.bessy.de>
> Subject: module_types.c
> To: mrk@aps.anl.gov (Marty Kraimer)
> Date: Fri, 26 Jan 1996 11:46:41 +0100 (MEZ)
> Organization: BESSY GmbH, Berlin, Germany.
> X-Mailer: ELM [version 2.4 PL24]
> Mime-Version: 1.0
> Content-Transfer-Encoding: 8bit
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Length: 1039
> 
> Hi Marty,
> 
> First of all: thanks for the hint about the new link documentation --- it's
> always impressive to take a glimpse of the future ...
> 
> Would you agree that base/src/drv/old/module_types.c is obsolete? It gets
> compiled, linked and loaded down as part of base/bin/mv167/drvSup, but its
> only function module_types() never gets called by any part of the IOC
> software. (I came across this after trying to find out why changes in
> module_types.c never worked...)
> 
>

The purpose of module_types.c is to allow you to easily change the
default definitions for address locations, interrupt vectors, etc.
Loading the default version accomplishes nothing since it just has
the default definitions.

The way to use it is the following:

1) Copy the default version from epics. (In base/src/drv/old)
2) Edit and compile your local copy.
3) Load your local copy and execute the command

   module_types
   
   BEFORE calling iocInit 
   
I am sending this message to tech-talk because it may be of general interest.


Marty Kraimer


Navigate by Date:
Prev: Re: Displaying waveforms Marty Kraimer
Next: Re: Displaying waveforms Jeff Hill
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: EPICS Master Tree Developers Marty Kraimer
Next: Is device support available for.... Bill Brown
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·