Imaq: Blank image on a Hamamatsu C9732DK camera.

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

回答(1 个)

Maneet Kaur Bagga
Maneet Kaur Bagga 2024-10-8
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 个评论
Arthur Elsenaar
Arthur Elsenaar 2024-10-10
Thanks for the answer! In the mean time I have moved to a python based setup not requiring DCAM or Mathlab.

请先登录,再进行评论。

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by