Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: pvGet in Sequence does not work with incorrect size
From: Benjamin Franksen via Tech-talk <tech-talk@aps.anl.gov>
To: <tech-talk@aps.anl.gov>
Date: Tue, 17 Sep 2019 16:18:30 +0200
Am 17.09.19 um 11:38 schrieb Dejan Kocjan via Tech-talk:
> We found out that the difference between monitor/ca_create_subscription()
> and pvGet/ca_array_get_callback(), is that pvGet will fail, if number of
> requested elements is more than NELM of the record. While monitor will not
> fail.

Okay, I didn't know that.

> This could be solved by making sure number of requested elements does not
> exceed NELM, like it is already done for pvPut. Instead of reading
> ch->count, we should read dbch->dbCount.

That makes sense, will fix. Thanks for debugging this!

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


References:
Re: pvGet in Sequence does not work with incorrect size Dejan Kocjan via Tech-talk

Navigate by Date:
Prev: Re: pvGet in Sequence does not work with incorrect size Dejan Kocjan via Tech-talk
Next: Sequencer release 2.2.7 Benjamin Franksen via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Re: pvGet in Sequence does not work with incorrect size Dejan Kocjan via Tech-talk
Next: monitoring field device Pierrick M Hanlet via Tech-talk
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  <20192020 
ANJ, 17 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·