A couple of libca questions.
Firstly, is it possible for the element count of a channel to change while the channel is connected? I'm thinking in particular of the case when using camonitor (well, ok, I mean ca_create_subscription()) to monitor a waveform PV. Each event_handler callback is informed of the dbr count -- but as far as I can tell, it's always the maximum waveform size, even if NORD is smaller.
Is the fact that the update size doesn't change, ca_element_count() always reports the NELM, and subscribing with zero count gets the full wavelength, is this restriction fundamental to channel access, a limitation of the channel access server, or just something that hasn't been implemented in the waveform record? This question becomes more interesting as we use waveform records for large images!
Secondly, and related, is there any compelling reason why an arbitrarily large count can be specified to ca_create_subscription(), whereas ca_array_get_callback() refuses to play if count > ca_element_count()? In particular, this complaint precludes sensible behaviour if the server wanted to change the channel size between the connection and the get request completing.
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
- Replies:
- Re: Channel access and ca_element_count Benjamin Franksen
- References:
- Re: EPICS Python client application survey Andrew Johnson
- Navigate by Date:
- Prev:
RE: EPICS Python client application survey michael.abbott
- Next:
Re: EPICS Python client application survey Andrew Johnson
- 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: EPICS Python client application survey Andrew Johnson
- Next:
Re: Channel access and ca_element_count Benjamin Franksen
- 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
|