Hi Florian,
You have 2 problems. This is the first one:
Ø
Unfortunately, I’m getting an error message if GC_PixelCoding enum is set to Mono12Packet:
2021/06/10 16:39:01.025 ADSpinnaker:grabImage: unsupported pixel format=0xb
Setting GC_PixelCoding to Mono12Packed does not actually cause the ADC to operate in 12-bit mode. It just tells the camera to send the data with 2 12-bit pixel values packed into 3 bytes, to decrease the required bandwidth. You are getting
an error because when you select Mono12Packed you must also set the ConvertPixelFormat PV to Mono16 so that the 12-bit data is expanded to 16-bits in ADSpinnaker, which areaDetector can understand.
The second problem is with the data being 10-bit rather than 12-bit. This is because you need to set a camera-specific GenICam feature to select the desired ADC bit depth. That PV is called GC_AdcBitDepth, and you will find it on one
of the camera-specific OPI screens.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Florian Benedetti via Tech-talk
Sent: Wednesday, June 16, 2021 7:22 AM
To: tech-talk at aps.anl.gov
Subject: FLIR camera bit depth configuration with ADSpinnaker
Hello,
Sorry if it’s not directly related to areaDetector/EPICS but I have some issues when I try to configure the acquisition with Flir/PointGrey cameras, I’m using the ADSpinnaker module and I have GigE cameras (BFLY-PGE-23S6M) that should support 12 bits depth
images according to the FLIR datasheet. Unfortunately, I’m getting an error message if GC_PixelCoding enum is set to Mono12Packet:
2021/06/10 16:39:01.025 ADSpinnaker:grabImage: unsupported pixel format=0xb
If GC_PixelCoding is set to 16bits instead, the acquisition works but the images remain at 10 bit depth.
Did I miss something during the configuration? How I can configure my cameras to work with 12 bit depth?
Thanks for your help.
Cheers.
Florian