Experimental Physics and Industrial Control System
|
I'm pretty sure that the reason I put this in is the poor way the
waveform record, on which subarray was based, posts invalid status.
Certainly the subarray record support does not ever set INVALID and the
waveform record does it only in a part that looks unreachable to me.
The readValue() returns bad status but the process routine ignores it.
It seems to me that the record should go invalid if it can't obtain input.
Although I think Lewis' argument is compelling, I also think more needs
to be done than just eliminating the assignment of indx to zero.
Carl
Andrew Johnson wrote:
Hi Lewis,
J. Lewis Muir wrote:
I have found that if a subArray record reads 0 elements into its
array, it sets its INDX field to 0. Is this behavior intended? I
would rather it not change its INDX field in this situation.
I agree that this behavior seems a little strange and I'm inclined to
apply your patch (there's nothing mentioned in the Record Reference
Manual about what should happen). The record's author is listed as
Carl Lionberger who is still a member of this community â Carl, do you
have any comments on this change?
- Andrew
--
Carl Lionberger
510 486 7503
Software Developer, Engineering Division
Lawrence Berkeley National Laboratory
- Replies:
- RE: subArray INDX field set to 0 if NORD <= 0 Gillingham, IJ (Ian)
- References:
- 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: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
- Next:
RE: subArray INDX field set to 0 if NORD <= 0 Gillingham, IJ (Ian)
- Index:
1994
1995
1996
1997
1998
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: subArray INDX field set to 0 if NORD <= 0 Andrew Johnson
- Next:
RE: subArray INDX field set to 0 if NORD <= 0 Gillingham, IJ (Ian)
- Index:
1994
1995
1996
1997
1998
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 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|