Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ - Acquire 10-bit images???

Solved!
Go to solution

Hello All,

 

I'm trying to acquire 10-bit images from our Basler acA2000-340km camera but it keeps timing out.  I am properly creating a 16-bit(Int16) buffer for the acquired image.  However whenever imgSessionAcquire is called, a timeout error(-1074397150) is occurring.

 

I am doing all development in C++/VisualStudio 2010.  

 

Can someone please help out with this?

Thank you.

0 Kudos
Message 1 of 3
(3,861 Views)

Are you sure the camera is configured with an appropriate tap configuration for 10-bit mode? If not you may not be getting enough data. Generally these types of issues are best to debug by first getting the acquisition working correctly in MAX and an example app and then transition to your own code.

 

Eric

0 Kudos
Message 2 of 3
(3,857 Views)
Solution
Accepted by topic author brianbat

Hello Eric,

 

I took a look in the NI camera file and discovered that my pixel bit depth serial command was wrong.  I fixed it and then was able to acquire the images.  However the images are not being saved as 16-bit, only 8-bit.  I will submit another issue on this.

 

Thanks.

0 Kudos
Message 3 of 3
(3,847 Views)