Imaq: Blank image on a Hamamatsu C9732DK camera.

7 visualizaciones (últimos 30 días)
Arthur Elsenaar
Arthur Elsenaar el 21 de Sept. de 2020
Comentada: Arthur Elsenaar el 10 de Oct. de 2024
Hello,
I am trying to acquire images from a Hamamatsu C9732DK camera over USB. I installed the DCAM-API driver fine and can acquire good images with the Excap.exe tool. For the Image Acquisition Toolbox I installed the Image Acquisition Toolbox Support Package for Hamamatsu Hardware v18.2.0 which seems the right version for Matlab R2018b. It shows the camera ok and can start acquisitions, but the images are blank, all zero, no histogram.
Am I missing something?

Respuestas (1)

Maneet Kaur Bagga
Maneet Kaur Bagga el 8 de Oct. de 2024
Hi,
As per my understanding you are encountering a communication issue between the "Hamamatsu" camera and the Image Acquisition Toolbox where you are able to configure the hardware but the data stream is not translating into valid images.
To make it work in MATLAB R2018b you need to change the "Trigger Connector" property to "bnc" from the "Device property" tab in Image Acquisition Toolbox. By default, it has the value set as "interface".
Please refer to the following code snippet to make the changes:
vid = videoinput('hamamatsu', 1, 'MONO16_2048x2048_FastMode');
src = getselectedsource(vid);
src.TriggerConnector = 'bnc';
Please refer to the discussion section of the File Exchange link:
I hope this helps!
  1 comentario
Arthur Elsenaar
Arthur Elsenaar el 10 de Oct. de 2024
Thanks for the answer! In the mean time I have moved to a python based setup not requiring DCAM or Mathlab.

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by