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: Bizarre MEDM problem
From: Bonnie Madre <[email protected]>
To: [email protected]
Date: Tue, 22 Apr 1997 10:24:46 EDT
--- Begin Message ---
Thanks to replies received from this group, the bizarre MEDM problem has
been fixed.  As some of you suspected it was in the get_precision 
routine of the High Voltage record code itself.  It was solved by 
one line, and it makes perfect sense.  The actual code is shown below:

static long get_precision(paddr,precision)
   struct dbAddr *paddr;
   long          *precision;
{
   --------------------------------------------------------------------
   The following line was added by Johnny Tang.  Previously, it was 
   calling the routine with an uninitialized value for precision.
   Results were, to say the least, unpredictable.

   *precision=0;

   --------------------------------------------------------------------
    recGblGetPrec(paddr,precision);
    return(0);
}

--
Bonnie Madre 
Staff Computer Scientist
Accelerator Controls Software Group

ANALOG ADDRESS:
Thomas Jefferson National Accelerator Facility (TJNAF)
MS 85A
12000 Jefferson Avenue
Newport News, VA  23606
(757) 269-7059

E-MAIL ADDRESS:
[email protected]


--- End Message ---

Navigate by Date:
Prev: SOSH97 - Registration Reminder Rolf Keitel
Next: MEDM makes a next step, doesn't it? Vladimir T. Romanovski
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: Re: Bizarre MEDM problem Vladimir T. Romanovski
Next: Big Databases -> Slow Boot Marty Kraimer
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 ·