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: "Hu, Yong via Tech-talk" <tech-talk@aps.anl.gov>
To: "Ha, Kiman" <kha@bnl.gov>, Mark Rivers <rivers@cars.uchicago.edu>
Cc: "Podobedov, Boris" <boris@bnl.gov>, "sebek@slac.stanford.edu" <sebek@slac.stanford.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 11 Sep 2019 21:41:48 +0000

Kiman:

 

Yes, the function is lcaSetTimeout, i.e. lcaSetTimeout(1.0) will set the timeout to 1 second. The default timeout is 0.1 second.

Other useful functions for your case:  lcaGetRetryCount, lcaSetRetryCount

 

BTW, you do not need to set EPICS_CA_MAX_ARRAY_BYTES to 5G.  A little bit greater than 1M*sizeof(data-type-of-ADC-raw-data) should be enough.

 

Yong

 

 

From: Tech-talk <tech-talk-bounces@aps.anl.gov> on behalf of "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Reply-To: Kiman Ha <kha@bnl.gov>
Date: Wednesday, September 11, 2019 at 5:12 PM
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: "Podobedov, Boris" <boris@bnl.gov>, "sebek@slac.stanford.edu" <sebek@slac.stanford.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Subject: RE: lcaGet maximum readout array size

 

How to increase the timeout?

At the Matlab lcaLAB function or other ...?

Kiman

 

-----Original Message-----

From: Mark Rivers <rivers@cars.uchicago.edu>

Sent: Wednesday, September 11, 2019 4:56 PM

To: Ha, Kiman <kha@bnl.gov>

Subject: Re: lcaGet maximum readout array size

 

I think you need to increase the timeout or retries in ezca.

 

Mark

 

 

Sent from my iPhone

 

On Sep 11, 2019, at 3:20 PM, Ha, Kiman via Tech-talk <tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>> 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

 


Replies:
RE: lcaGet maximum readout array size Ha, Kiman via Tech-talk
References:
lcaGet maximum readout array size Ha, Kiman via Tech-talk
Re: lcaGet maximum readout array size Mark Rivers via Tech-talk
RE: lcaGet maximum readout array size Ha, Kiman via Tech-talk

Navigate by Date:
Prev: Re: lcaGet maximum readout array size Sebek, Jim 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 Sebek, Jim 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 
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 ·