Effacer les filtres
Effacer les filtres

Image Acquisition Toolbox - imaqtool gets only black images

2 vues (au cours des 30 derniers jours)
Andreas
Andreas le 22 Avr 2013
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

Réponse acceptée

Friedrich
Friedrich le 22 Avr 2013
Modifié(e) : Friedrich le 22 Avr 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 commentaires
Friedrich
Friedrich le 22 Avr 2013
This is mentioned in the doc (6th entry)
Andreas
Andreas le 22 Avr 2013
Thanks. I played with the PacketDelay, but the numbers were just to low. Now with a PacketDelay of 100.000Ticks its working.

Connectez-vous pour commenter.

Plus de réponses (1)

Ankit Singh
Ankit Singh le 4 Avr 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