EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: CAS server and partial vectors
From: Bruno Coudoin <[email protected]>
To: [email protected]
Date: Sat, 18 Apr 2009 00:21:20 +0200
Hi,

In the CAS server, vector variable are always sent at their maxBound
size instead of their real size as found in the user's provided gdd.

This has 2 consequences:
- We loose bandwidth transferring trailing zeros when the vector is not
  fully populated.
- On the client side, there is no way to determine where the data
  stops in the vector.

Digging in the code I found out that in
casStrmClient::readNotifyResponse the message size is based on
msg.m_count which is set to maxBound. Don't desc.getDataSizeElements()
should be used instead.

Am I doing something wrong or this is a bug ?

-- 
Bruno Coudoin
http://gcompris.net  Free educational software for kids


Navigate by Date:
Prev: Re: ca_put with non base type Bruno Coudoin
Next: Re: NTPTimeSync timeout messages on VxWorks with EPICS 3.14.10 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CAS server and partial vectors Bruno Coudoin
Next: ca_put with non base type Bruno Coudoin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·