Imaq: Blank image on a Hamamatsu C9732DK camera.

8 views (last 30 days)
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?

Answers (1)

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

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!