I’m not sure that this is a good idea. Having different clients behave differently seems like it’s going to cause a lot more problems than it solves.
On Jun 5, 2014, at 11:40 AM, Hu, Yong <[email protected]> wrote:
> Hello All,
>
> I guess many EPICS users, especially beginners, had problems when using the command "caget" to read large waveform data because they forgot to reconfigure EPICS_CA_MAX_ARRAY_BYTES to a bigger number or they didn't know how to configure this parameter. Now, this problem seems to be fixed. See attached patch or .c file. I tested it on Debian 6 / gcc 4.4.5 / base-3.14.12.2.
>
> I hope no users would use the command "camonitor" for big waveform data. Auto-configuring of EPICS_CA_MAX_ARRAY_BYTES in camonitor seems more complicated.
>
> Two years ago, there were discussions about automatically resizing max_array_bytes: http://www.aps.anl.gov/epics/tech-talk/2012/msg02136.php . I have an idea about how to implement this on the ioc side (RSRV), but no progress has been made yet. We just successfully completed NSLS-II Storage Ring phase-I commissioning and our machine is in maintenance. So, I have some free time to work on this again.
>
> All are welcomed to test the attached caget on Windows, Mac, and other Linux distros. Any idea & suggestion is welcomed!
>
> Yong<caget.c-3.14.12.2.patch><caget.c>
--
Eric Norum
[email protected]
- Replies:
- Re: auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Andrew Johnson
- References:
- auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Hu, Yong
- Navigate by Date:
- Prev:
auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Hu, Yong
- Next:
Re: auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Andrew Johnson
- Index:
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:
auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Hu, Yong
- Next:
Re: auto-configure EPICS_CA_MAX_ARRAY_BYTES in catools/caget Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|