Hi Jorn,
areaDetector definitely works with float or double arrays.
I am not sure if this is your problem, but I see an incompatibility here:
> dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$ (PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),TYPE=Float64,FTVL=FLOAT,NELEMENTS=8000")
Note that you have told it TYPE=Float64, which selects the asynFloat64Array interface. However, you told it FTVL=FLOAT, which is for 32-bit floats. These fields need to be consistent, i.e. TYPE=Float64 and FTVL=DOUBLE or TYPE=Float32 and FTVL=FLOAT.
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jörn Dreyer
Sent: Tuesday, April 17, 2018 7:24 AM
To: EPICS Tech Talk <[email protected]>
Subject: areaDetector question
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
- Replies:
- Re: areaDetector question Jörn Dreyer
- References:
- areaDetector question Jörn Dreyer
- Navigate by Date:
- Prev:
Re: areaDetector question Hinko Kocevar
- Next:
Request for OSI and RTEMS citations Matt Rippa
- 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 Hinko Kocevar
- 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
<2018>
2019
2020
2021
2022
2023
2024
|