Image Acquisition Toolbox - imaqtool gets only black images

3 次查看(过去 30 天)
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

采纳的回答

Friedrich
Friedrich 2013-4-22
编辑:Friedrich 2013-4-22
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')
  3 个评论
Andreas
Andreas 2013-4-22
Thanks. I played with the PacketDelay, but the numbers were just to low. Now with a PacketDelay of 100.000Ticks its working.

请先登录,再进行评论。

更多回答(1 个)

Ankit Singh
Ankit Singh 2016-4-4
In mac how to do it?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by