OK, it seems it is not the maximum array bytes that are your problem, ATM.
Are you sure that the ArrayData record is actually updated? Can you
check UDF and TIME record fields?
Is the StdArrays plugin 'Enabled'; does it increment its unique ID
when new array is received from the driver? I would load up some OPI
and check the image plugin for these statuses.
Running caget against the 13SIM1:image1:ArrayData I happen to have
here results in all 0; this is seen if plugin is not enabled hence no
image data is written to the record.
/Hinko
On Tue, Apr 17, 2018 at 3:18 PM, Jörn Dreyer <[email protected]> wrote:
> Hi Hinko,
>
> I tried your suggestion, but still no success. That's what ca get delivers
> back.
>
> ~ $caget -d 2 HIBEF:XFEL:image1:ArrayData | more
> HIBEF:XFEL:image1:ArrayData
> Native data type: DBF_FLOAT
> Request type: DBR_FLOAT
> Element count: 1000
> Value: 2.02038e-39 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> I looked at the array in the readout function of the driver,. There it is
> correctly filled with meaningfull values.
>
> Regards,
>
> Jörn
>
> Am Dienstag, 17. April 2018, 14:58:43 CEST schrieb Hinko Kocevar:
>> 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
>
>
> --
> Dr. Joern Dreyer
> HIBEF DAQ + Controls
> Institut für Strahlenphysik
> Helmholtz-Zentrum Dresden - Rossendorf e.V
> Abt. FWKX Tel: +49 351 260 3263
> FAX: +49 351 260 3700
> 01314 Dresden eMail: [email protected]
>
> Helmholtz-Zentrum Dresden - Rossendorf e.V (HZDR)
> Bautzner Landstraße 400, 01328 Dresden
> Vorstand: Prof. Dr. Dr. h. c. Roland Sauerbrey, Dr. Ulrich Breuer
> Vereinsregister: VR 1693 beim Amtsgericht Dresden
>
>
--
.. the more I see the less I believe.., AE AoR
- References:
- areaDetector question Jörn Dreyer
- Re: areaDetector question Hinko Kocevar
- Re: areaDetector question Jörn Dreyer
- Navigate by Date:
- Prev:
Re: areaDetector question Jörn Dreyer
- Next:
RE: areaDetector question Mark Rivers
- 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: areaDetector question Jörn Dreyer
- Next:
RE: areaDetector question Mark Rivers
- 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
|