Imaq: Blank image on a Hamamatsu C9732DK camera.
15 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Maneet Kaur Bagga
on 8 Oct 2024 at 4:02
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!
See Also
Categories
Test and Measurement
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
DCAM Hardware
Image Processing and Computer Vision
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
DCAM Hardware
Test and Measurement
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
Hamamatsu Hardware
Show more
Find more on DCAM Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!