EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: subArray INDX field set to 0 if NORD <= 0
From: "J. Lewis Muir" <[email protected]>
To: [email protected]
Date: Mon, 19 Nov 2007 20:20:20 -0500
On 11/16/07 5:34 PM, Andrew Johnson wrote:
Hi Lewis,

J. Lewis Muir wrote:

Have you made any more progress with this? Or are you waiting on a response from Carl to your below email from a week ago?

I just heard back from Carl who sent me another patch which I have applied.


I'm willing to do a little testing if you have a patch you'd like someone to try out.

Great, I'm attaching the latest subArrayRecord.c file to this email (it has gone through too many cosmetic changes since R3.14.9 to be worth using a .patch file) which I have compiled but not tested. Please check it out and report back.


Thanks,

â Andrew

Hi, Andrew.


Thanks for the new subArrayRecord.c!

While not exhaustive, I did test the behavior of interest to me.

I tested it with the subArray-indx-reset.db test case from my original email. It worked; the INDX field was not reset to 0 even though it couldn't read anything since the asyn record couldn't read anything. So this is the behavior I was hoping to get.

I also tested it with an asyn TCP/IP client port. The asyn port reads four bytes from a TCP/IP server. I terminate the TCP/IP server and make the asyn record process. It of course fails to read anything from the TCP/IP server. The asyn record has a forward link to a subArray record which reads from the asyn record's BINP field. The subArray record has STAT=LINK, SEVR=MAJOR, and INDX has not been reset to 0; so this is good. When I start the TCP/IP server again and cause the asyn record to process, it reconnects and reads the four bytes and the subArray record is able to read the asyn record's BINP field and has STAT=NO_ALARM, SEVR=NO_ALARM, and INDX set to the correct value (i.e. not reset to 0). So this is working how I hoped it would.

The testing was done with the following configuration:

* OS: Mac OS X 10.4.10
* EPICS 3.14.8.2
* synApps 5.2 (with motor 6-2-2 + fixes, asyn 4-8 + fixes, sscan 2-5-6)

Thanks!

-lewis

--
J. Lewis Muir
Software Engineer
CARS/IMCA-CAT

Replies:
Re: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
References:
RE: subArray INDX field set to 0 if NORD <= 0 Gillingham, IJ (Ian)
Re: subArray INDX field set to 0 if NORD <= 0 Carl Lionberger
Re: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
Re: subArray INDX field set to 0 if NORD <= 0 J. Lewis Muir
Re: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson

Navigate by Date:
Prev: Re: Problem with assert in dbLock.c Andrew Johnson
Next: Re: building EPICS base on Mac OS X 10.5 (Leopard) yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
Next: Re: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·