Image Acquisition Toolbox - imaqtool gets only black images

5 Ansichten (letzte 30 Tage)
Andreas
Andreas am 22 Apr. 2013
Beantwortet: Ankit Singh am 4 Apr. 2016
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

Akzeptierte Antwort

Friedrich
Friedrich am 22 Apr. 2013
Bearbeitet: Friedrich am 22 Apr. 2013
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 Kommentare
Andreas
Andreas am 22 Apr. 2013
Thanks. I played with the PacketDelay, but the numbers were just to low. Now with a PacketDelay of 100.000Ticks its working.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Ankit Singh
Ankit Singh am 4 Apr. 2016
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