Hamamatsu Image Acquisition adapter not working?
Show older comments
I'm on MatLab 2021b trying to use the hamamatsu adapter for my C15440-20UP Orca Fusion-BT camera. No matter what I try I can't get the adapter to be recognized by imaqtool.
Output from "imaqhwinfo":
ans =
struct with fields:
InstalledAdaptors: {'mwdemoimaq' 'winvideo'}
MATLABVersion: '9.11 (R2021b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '6.5 (R2021b)'
This is despite it being enabled in the Add-On explorer:

I'm using the adapter from hamamatsu's website here: https://dcam-api.com/hamamatsu-software/
The page for the adapter in Add-On explorer is just one star reviews of people who also couldn't get it working. I find it hard to believe that it's just been broken this whole time, but I can't find a single example of someone successfully using it since it became a third party Add-On.
I have all of the most recent DCAM-API drivers and the camera is recognized both by Windows device manager and the DCAM-API hardware tool. I've tried using imaqregister on the hamamatsu.dll file directly, and adding the install location to the MatLab path, both to no avail. I can't try using an older version of MatLab to use the integrated adapter because my camera is only supported in the new adapter.
Am I missing something here? Has anyone had success using this adapter that can give insight on how to get it working?
3 Comments
cw
on 17 Mar 2022
I am having the same issue. Cannot install the third party Add-On.
Jesse Ivers
on 12 Apr 2022
Edited: Jesse Ivers
on 12 Apr 2022
I was having the same issue for a while, but finally found a thread on a different topic assively mentioning the neccesity to register your third party add on in the Image Acquisition Explorer. To do this, you can use this code (just make sure to correct your path):
imaqregister('C:\Users\<user>\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Hamamatsu Image Acquisition\hamamatsu.dll'
imaqreset % Necessary to refresh settings
Alternatively, you can go to the Image Acquisiton Tool and find the "Register..." option in the top menu bar under "Tools" (this is only a workaround, as the "Image Acquisition Tool" will be removed in the future). You will have to navigate to your adaptor install and find the .dll file.
This should fix the issue of it not showing...however, you may encounter an issue where it crashes as soon as you try to open it from either the ImAq Tool or ImAq Exp. I'll update here if I find answers to that. Currently in contact with both MATLAB and Hamamatsu trying to solve this one.
UPDATE 1: "Hamamatsu hardware is supported for MATLAB from R2014a to R2019b. Past this point Hamamatsu supports device access themselves. It is out side of MathWorks scope to support. We recommend you contact Hamamatsu regarding this issue. After reviewing the crash file this error occurred within the provided DLL file provided by Hamamatsu."
Andrew
on 14 Apr 2023
this fix worked for me, thanks!
Answers (0)
Categories
Find more on Hamamatsu 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!