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: RE: CAS server and partial vectors
From: Bruno Coudoin <[email protected]>
To: [email protected]
Date: Sat, 18 Apr 2009 11:05:33 +0200
Le vendredi 17 avril 2009 à 18:47 -0600, Jeff Hill a écrit :
> Hello Bruno,
> 
> Currently, it works like this.
> 
> - the client can ask for no more than the number of elements provided by the
> service when the channel connects to the PV.

Ok but how does it knows how many elements to ask for. As I see it, only
the server can know the current number of element in its gdd.

> - the client always gets the number of elements he requests,

This is ok for me but in my case I will always ask for the max number of
elements. If I don't do this I would just loose data.

>  and should the
> service provides less, then the server zero pads in the protocol.

Ok, that's what i saw.

> I will admit that one could make a good case for this not being terribly
> flexible, but this was a behavior adopted a long time ago and we are careful
> to preserve backwards compatibility.

I understand but there is probably a way to fix it and keep backward
compatibility. One can assume that if nobody complains about this is
because no one use epics to send partial vectors.

Thinking about it the risky part would be to have a new server sending
partial data and a old client expecting a zero padded payload.

By the way I don't know the epics ecosystem enough to make a proposal.

> One solution might be to make the first element specify the number of
> elements that follow. That would, admittedly, not help with bandwidth
> consumption.

Yes, at least this would fix the functionality issue.



Replies:
RE: CAS server and partial vectors Jeff Hill
References:
CAS server and partial vectors Bruno Coudoin

Navigate by Date:
Prev: Re: NTPTimeSync timeout messages on VxWorks with EPICS 3.14.10 Andrew Johnson
Next: Problems using the sscan record 张招红
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: CAS server and partial vectors Bruno Coudoin
Next: RE: CAS server and partial vectors Jeff Hill
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 ·