Hamamatsu Camera Video format not supported

3 views (last 30 days)
I have been attempting to connect my Hamamatsu Camera to MATLAB hardware. However, I seem to have difficulties with the type of video format I am requesting
Currently, these are the types of video formats I can enter into the videoinput function
VideoFormat = "MONO16_2048x2048";
VideoFormat = "MONO16_BIN2x2_1024x1024";
VideoFormat = "MONO16_BIN4x4_512x512";
If possible, please let me know if I am doing something incorrect of if the types of video inputs have changed.
  • Make: Hamamatsu
  • Model: ORCA Flash 4.0 V2, C11440-22CU
Firmware and software
  • DCAM-API: v. 4.00 (NIS-E)
  • Master Camera Firmware: v. 4.00.A.
  • Driver: v. 7.5.140.5794
requestedDevice =
struct with fields:
DefaultFormat: 'MONO16_2048x2048_Std'
DeviceFileSupported: 0
DeviceName: 'C11440-22C, S/N: 100109, Bus: AS-FBD-1XCLD-2PE8'
DeviceID: 1
VideoInputConstructor: 'videoinput('hamamatsu', 1)'
VideoDeviceConstructor: 'imaq.VideoDevice('hamamatsu', 1)'
SupportedFormats: {1×8 cell}
K>> imaqhwinfo
struct with fields:
InstalledAdaptors: {'hamamatsu' 'winvideo'}
MATLABVersion: '9.14 (R2023a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '6.7.1 (R2023a)'
K>> formatType
formatType =
'MONO16_2048x2048_FastMode'
Error using videoinput
The FORMAT specified is not supported by this device. See IMAQHWINFO(ADAPTORNAME).

Accepted Answer

Harsh
Harsh on 2 Aug 2024
Edited: Harsh on 2 Aug 2024
It appears that the goal is to use a Hamamatsu camera's video format MONO16_2048x2048_FastMode with MATLAB. For MATLAB R2020a and later versions, the Image Acquisition Toolbox adaptor from Hamamatsu must be downloaded. For versions ranging from R2014a to R2019b, a hardware support package authored by MathWorks is available.
If the newer method isn't working for you then as an alternative, consider using MATLAB R2019b to utilize the Image Acquisition Toolbox with the Hamamatsu camera. The following MathWorks link can be used to install MATLAB R2019b; just ensure the correct version is selected:
The following MathWorks documentation provides a guide to get started with using the Hamamatsu camera on MATLAB R2019b:
I hope this helps, thanks!
  1 Comment
Nathan Nguyen
Nathan Nguyen on 2 Aug 2024
Turns out my problem was that I was entering video formats from a PCO camera instead of the Hamamatsu camera, but this was super helpful nonetheless. Thanks!

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!