MATLAB: Image Acquisition Toolbox – imaqtool gets only black images

gigeImage Acquisition Toolboximaqtool

Hello,
I'm using Matlab R2013a with the Image Acqusiition Toolbox. I'm trying to grab images from a gige-camera. The imaqtool recognizes the camera, but after clicking on "Start Preview", just a black image appears. I get no image … should be an totally white image. If I use a script for grabbing an image, I get a time-out.
Has anybody a hint for me? Is there a possibilty to test the toolbox?
Thanks for help!
Andreas

Best Answer

Hi,
in the case you are on Windows:
The PacketSize field of the source object must match the value of the Jumbo Frames property, which must be to its maximum value.
Go to your Windows Device Manager and expand the Network adapters node. Open the Properties window for the network device connecting with your camera. Go to the Advanced tab and ensure that the Jumbo Frames selection is set to the maximum value available. Then choose the Performance Options setting and click on the Properties button. Ensure that the Receive Descriptors setting is also set to its maximum value.
The PacketSize can be set with the following code (assuming that the Jumbo Frames property is 9014):
src = getselectedsource(obj)
set(src,'PacketSize','9014')