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: Dejan Kocjan via Tech-talk <tech-talk@aps.anl.gov>
To: <tech-talk@aps.anl.gov>
Date: Tue, 17 Sep 2019 11:38:17 +0200 (CEST)

Hello,

 

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.

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.

 

Cheers,

Dejan 


Replies:
Re: pvGet in Sequence does not work with incorrect size Benjamin Franksen via Tech-talk

Navigate by Date:
Prev: Re: pvGet in Sequence does not work with incorrect size Jure Varlec via Tech-talk
Next: Re: pvGet in Sequence does not work with incorrect size 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 Jure Varlec via Tech-talk
Next: Re: pvGet in Sequence does not work with incorrect size 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 
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 ·