Imaq: Blank image on a Hamamatsu C9732DK camera.

조회 수: 7 (최근 30일)
Arthur Elsenaar
Arthur Elsenaar 2020년 9월 21일
댓글: Arthur Elsenaar 2024년 10월 10일
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