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.
From: Ahed Aladwan [mailto:Ahed.Aladwan@synchrotron.org.au]
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
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:
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:
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.
Ahed Aladwan | Senior Controls Engineer| Australian Synchrotron
p: (03) 8540 4100 | f: (03) 8540 4200
Ahed.Aladwan@synchrotron.org.au | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168
From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of firstname.lastname@example.org
Sent: Saturday, April 27, 2013 12:18 AM
Subject: Unable to get a picture from Baumer TXG13 GigE camera
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.
University of Bern
Institute of Physics
Space Research and Planetary Sciences
Direct +41 (0)31 631 4425
Main +41 (0)31 631 4411 Fax +41 (0)31 631 4405 email@example.com 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
- Unable to get a picture from Baumer TXG13 GigE camera urs.geissbuehler
- Navigate by Date:
Re: BNL is denied TCP access by anl Andrew Johnson
EPICS Extensions Compilation Errors murad ali
- Navigate by Thread:
RE: Unable to get a picture from Baumer TXG13 GigE camera Mark Rivers
BNL is denied TCP access by anl Ivashkevych, Oksana