EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  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  1998  1999  2000  <20012002  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: more subArray Record
From: Geoff Savage <[email protected]>
To: [email protected]
Date: Fri, 21 Sep 2001 12:48:20 -0500
Hi,

We have noticed a problem with the subArray record. Periodically the INDX field is set to zero. I have not been able to track down the trigger for this event. The record does set indx to zero if nord (number of elements read) is less than or equal to zero.

From subArrayRecord.c, the readValue() function.

       if (psa->nord <= 0)
       {
          status = -1;
          psa->indx = 0;
       }
       return(status);

The status is not used in process() to indicate an error.

This is the only explanation I have for what we see. I tried to trace back to when nord is set to indicate an error and became hopelessly confused while looking at dbGetLink(). Following this path I could not see how nord was set to an error state. It seemed that the values that are used to calculate nord are always good. Any suggestions?

Has anyone tried to develop sub array device support?

Thanks

Geoff



Navigate by Date:
Prev: Re: SubArray Record Noboru Yamamoto
Next: shared libraries build bug Janet Anderson
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: SubArray Record Noboru Yamamoto
Next: shared libraries build bug Janet Anderson
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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 ·