EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  1997  <19981999  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: RE: question about medm and the .PREC field
From: [email protected] (Jeff Hill)
To: "'Stephen Pate'" <[email protected]>, Tim Mooney <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 14 Dec 1998 19:32:02 -0700
On Monday, December 14, 1998 6:17 PM, Stephen Pate [SMTP:[email protected]] wrote:
> Dear Tim
> 	Thanks for your prompt answer -- I am a little confused, still...
> 
> On Mon, 14 Dec 1998, Tim Mooney wrote:
> 
> > 
> > Just adding a PREC field won't do anything at all because medm doesn't
> > actually look at that field.  Display precision is determined by what the
> > record-support function get_precision() says when it's called and asked
> > (separately) about each field medm wants to display.  PREC is just a
> > convenient, standard way for the database developer or user to give
> > get_precision() a default answer. 
> 
> Well, is medm (via channel access) calling get_precision() and thereby
> indirectly looking at the .PREC field? 

yes

> If adding the .PREC field is not the answer, what is?  Do I need both to
> (1) add the .PREC field and also (2) change something in the record
> support to make sure get_precision() is being called? 
> > 
> 

Your record's get_precision() will be called by dbCommon. You should only 
need to modify record support so that it returns the value in the .PREC field.

Jeff

Navigate by Date:
Prev: Re: question about medm and the .PREC field Stephen Pate
Next: Re: question about medm and the .PREC field Stephen Pate
Index: 1994  1995  1996  1997  <19981999  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: question about medm and the .PREC field Stephen Pate
Next: Re: question about medm and the .PREC field Stephen Pate
Index: 1994  1995  1996  1997  <19981999  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 ·