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  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: areaDetector question
From: Hinko Kocevar <[email protected]>
To: Jörn Dreyer <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 17 Apr 2018 14:58:43 +0200
Hi Jörn,

looking at your dbLoadRecords it seems you are about four times over
the default MAX ARRAY bytes (16 kB); 8000 x float64 (8 bytes) = 64kB.
Try lowering the count NELEMENTS=1000 and see if that works.. if all
good you can set an environment variable to handle more than 16 kB by
exporting EPICS_CA_MAX_ARRAY_BYTES in BOTH, IOC and command line where
caget is executed:

# in IOC
epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 10000000

# in terminal setting to 10Mb
export EPICS_CA_MAX_ARRAY_BYTES=10000000

HTH, hinko


On Tue, Apr 17, 2018 at 2:24 PM, Jörn Dreyer <[email protected]> wrote:
> I'm currently developing an areaDetector module for a sensor that delivers its
> information as double values. The code is ready, but I'm somehow not able to
> setup the ioc correctly to deliver the data in the NDStdArray. Looking with
> caget at the ArrayData it shows all values as zero.
>
> Here is what my dbLoadRecords line looks like:
>
> dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$
> (PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$
> (PORT),TYPE=Float64,FTVL=FLOAT,NELEMENTS=8000")
>
> My question is, has anybody before tried to read floats? With another driver
> that reads UInt32 values, I succeeded to setup the ioc.
>
> Regards,
>
> Jörn Dreyer
>
>



-- 
.. the more I see the less I believe.., AE AoR

Replies:
Re: areaDetector question Jörn Dreyer
References:
areaDetector question Jörn Dreyer

Navigate by Date:
Prev: areaDetector question Jörn Dreyer
Next: Re: PV gateway renders PVs as disconnected Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: areaDetector question Jörn Dreyer
Next: Re: areaDetector question Jörn Dreyer
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 17 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·