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: lcaGet maximum readout array size
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: Eric Norum <wenorum@lbl.gov>
Cc: "Podobedov, Boris" <boris@bnl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>, "sebek@slac.stanford.edu" <sebek@slac.stanford.edu>
Date: Wed, 11 Sep 2019 21:10:31 +0000
If the client is using ezca, which it sounds like it is, you can set both the timeout and the number of retries. I have run into this in the past with ezca which is used in the IDL CA library.

Mark


Mark


Sent from my iPhone

On Sep 11, 2019, at 4:05 PM, Eric Norum via Tech-talk <tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>> wrote:

From the error message it sounds like the transfer time limit simply isn't long enough to handle this much data.
I don't think that there is an environment variable for setting the time limit.  The client source code might need to be changed.

On Sep 11, 2019, at 2:02 PM, Ha, Kiman via Tech-talk <tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>> wrote:

Yse, I did 5 Gbytes.
export EPICS_CA_MAX_ARRAY_BYTES=5000000000


From: Till Straumann <strauman@slac.stanford.edu<mailto:strauman@slac.stanford.edu>>
Sent: Wednesday, September 11, 2019 4:55 PM
To: Ha, Kiman <kha@bnl.gov<mailto:kha@bnl.gov>>; tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>
Cc: sebek@slac.stanford.edu<mailto:sebek@slac.stanford.edu>; Podobedov, Boris <boris@bnl.gov<mailto:boris@bnl.gov>>
Subject: Re: lcaGet maximum readout array size

Did you check/set the infamous EPICS_CA_MAX_ARRAY_BYTES?

On 9/11/19 1:20 PM, Ha, Kiman wrote:
Hi all,

I am trying to readout  (180 * 4 PVs) * 1 M point BPM ADC raw data using the lcalab.
But, I found errors at waveform size > (180*4*100K) point.
Any solutions for readout 180*4*1M array size?


% BPM [180x1]
tmp1=strcat(BPM, 'Ampl:ARaw-I');
tmp2=strcat(BPM, 'Ampl:BRaw-I');
tmp3=strcat(BPM, 'Ampl:CRaw-I');
tmp4=strcat(BPM, 'Ampl:DRaw-I');

Reading waveforms...
Error using lcaGet
multi_ezca_get -  ezcaGetWithStatus(): no response in time

Error in adcLongWfmRead_1m (line 276)
        allADC = lcaGet([tmp1; tmp2; tmp3; tmp4], WLength);
>>

Thanks,
Kiman



References:
lcaGet maximum readout array size Ha, Kiman via Tech-talk
Re: lcaGet maximum readout array size Till Straumann via Tech-talk
RE: lcaGet maximum readout array size Ha, Kiman via Tech-talk
Re: lcaGet maximum readout array size Eric Norum via Tech-talk

Navigate by Date:
Prev: Re: lcaGet maximum readout array size Eric Norum via Tech-talk
Next: RE: lcaGet maximum readout array size Ha, Kiman 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: lcaGet maximum readout array size Eric Norum via Tech-talk
Next: Re: lcaGet maximum readout array size Mark Rivers 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, 11 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·