Hi Ahed,
ArrayCallbacks was not enabled, now it works! Thank you very much for your help! I also would like to thank Tom Cobb and Mark Rivers for their suggestions.
Regards,
Urs
-----Original Message-----
From: Ahed Aladwan [mailto:[email protected]]
Sent: Monday, April 29, 2013 3:29 AM
To: Geissbühler, Urs (SPACE)
Subject: RE: Unable to get a picture from Baumer TXG13 GigE camera
Hi Urs,
In order to bring the an image from NDArray to an EPICS waveform, one needs to be sure:
1- That the NDArray knows the image attributes at the areaDetector driver level, so in your driver code you need to set attributes like:
pImage->getInfo(&arrayInfo);
status = setIntegerParam(NDArraySize, arrayInfo.totalBytes);
status = setIntegerParam(NDDataType, dataType);
status = setIntegerParam(NDArraySizeX, arrayInfo.xSize);
status = setIntegerParam(NDArraySizeY, arrayInfo.ySize);
Because that's the way your EPICS array will know about you NDArray size, depth ... etc.
2- You also need to set the size of your EPICS array (waveform) which is the NELM, this is usually equal to Height x Width of your image, in your st.cmd file (NELEMENTS), look for this line:
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=22664400")
3- You need to set your EPICS_CA_MAX_ARRAY_BYTES env variable to Height x Width x Bytes (Pixel Size in Bytes), this variable can be set within the shell that starts the ioc or you can set it in your terminal before running the ioc.
4- You need to be sure that both ArrayCallbacks record & image EnableCallbacks are enabled, check the attached medm display to know where to find both and enable them.
This what comes to my mind now, hope this helps.
Cheers,
Ahed
Ahed Aladwan | Senior Controls Engineer| Australian Synchrotron
p: (03) 8540 4100 | f: (03) 8540 4200
[email protected] | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Saturday, April 27, 2013 12:18 AM
To: [email protected]
Subject: Unable to get a picture from Baumer TXG13 GigE camera
Hi all,
We're trying to set up a Baumer TXG13 monochrome CCD camera using aravisGigE. EPICS connects successfully with the camera and we can read and set the parameters. When setting AcquisitionStart=1 the ArrayCounter starts increasing (but not the FrameCounter). With tcpdump we see also the image data is transmitted and we also see higher or lower values with or without lens cover and also increasing numbers with the test image enabled. Unfortunately we never where able to retrieve the image data from NDArray, ArrayData always delivers an array filled with 0s. We are not sure now if the problem is related with the camera configuration or with NDArray. Is it normal that the FrameCounter remains 0? In case the camera is properly configured, we will be missing some configuration of NDArray. We tried EnableCallbacks=1 and also tried setting the array dimensions according to the resolution 1392x1040, Mono8. We might be missing something very basic, any suggestions and example configur!
ations are warmly welcome.
Regards,
Urs
_____________________________________
University of Bern
Institute of Physics
Space Research and Planetary Sciences
Urs Geissbühler
Sidlerstrasse 5
CH-3012 Bern
Direct +41 (0)31 631 4425
Main +41 (0)31 631 4411 Fax +41 (0)31 631 4405 [email protected] http://space.unibe.ch/
SUPPLIERS: As of 1 January 2013, the Australian Synchrotron Company Ltd has changed its business name. However, the trading name will remain Australian Synchrotron.
Please address all quotations and invoices to: Synchrotron Light Source Australia Pty Ltd (SLSA), ABN: 18 159 468 256
- References:
- Unable to get a picture from Baumer TXG13 GigE camera urs.geissbuehler
- Navigate by Date:
- Prev:
Re: BNL is denied TCP access by anl Andrew Johnson
- Next:
EPICS Extensions Compilation Errors murad ali
- 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: Unable to get a picture from Baumer TXG13 GigE camera Mark Rivers
- Next:
BNL is denied TCP access by anl Ivashkevych, Oksana
- 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
|