EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Initialising an ao record from a constant DOL
From: Andrew Johnson <[email protected]>
To: "Owens, PH (Peter)" <[email protected]>
Cc: [email protected]
Date: Tue, 27 Apr 2004 11:10:42 -0500
Owens, PH (Peter) wrote:

Getting the ornlSerial device support init routine to return 2 does indeed solve the problem.

Questions:

1. Is this 2 symbolically defined in a header file somewhere?

The record support code still uses Magic Numbers unfortunately.


2. Where is the best place to find a "How to write device support" manual?

There is some material in the Device Support lectures from the 2003 USPAS course: http://www.aps.anl.gov/epics/docs/USPAS2003/10_Device_Support.pdf but this doesn't go into the "return 2" issue at all, which is a record-specific but commonly used convention. Once you've got the basics covered by that lecture and you're looking for specifics like that, the information should be found in the Record Reference Manual entry for the record type, or in the record source code. Other device support for the same record type can also be useful.


- Andrew
--
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night.  That was really cool. - Caro


References:
RE: Initialising an ao record from a constant DOL Owens, PH (Peter)

Navigate by Date:
Prev: RE: Initialising an ao record from a constant DOL Owens, PH (Peter)
Next: gateway2_0_0_0Beta8 compile error. Kiman Ha
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Initialising an ao record from a constant DOL Owens, PH (Peter)
Next: VDCT build 1249 available John Maclean
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·