Image acquisition toolbox support for Daheng Mercury USB3 cameras

11 views (last 30 days)
I am not able to interface with a Daheng Mercury USB3 camera (model MER-502-79U3M) using the Image Acquisition toolbox. Could I please have some help in getting this to work, or receive confirmation that it is not supported. The camera is compatible with GenICam, so I have installed the GenTL add-on for the toolbox.
I am able to take pictures and view live video using the default manufacturer software GalaxyView, so the camera is installed correctly. I am using 64-bit Windows 10 and obviously plugging the camera into a USB3 port.
Typing 'imaqhwinfo gentl' with camera plugged in, I see:
AdaptorDllName: 'C:\ProgramData\MATLAB\SupportPackages\R2017a\toolbox\imaq\supportpackages\gentl\adaptor\win64\mwgentlimaq.dll'
AdaptorDllVersion '5.2 (R2017a)'
AdaptorName: 'gentl'
DeviceIDs: {1x0 cell}
DeviceInfo: {1x0 struct}
Using imaqsupport, the generated text file shows (under the GENTL heading):
GENICAM_GENTL64_PATH = C:\ProgramFiles\Daheng Imaging\GalaxySDK\GenTL\Win64
Producer found = C:\Program Files\Daheng Imaging\GalaxySDK\GenTL\Win64\GxGVTL.cti\GxU3VTL.cti\GxUSBTL.cti
There are indeed 3 .cti files in the above folder, but I can't understand why they have all been lumped together under the 'Producer found' path. Could this have to do with why the camera can't be accessed?
  2 Comments
Image Analyst
Image Analyst on 4 Jul 2018
So what happens when you call videoinput(), preview(), or getsnapshot()?
Shoaib Amjad
Shoaib Amjad on 4 Jul 2018
Edited: Shoaib Amjad on 4 Jul 2018
Thanks for the quick response. Using videoinput, the adaptor has one completion: pressing Tab, videoinput('gentl',). But the second field for the device ID has no completions, so Matlab is not picking up the camera. The error message is:
Error using videoinput (line 235)
There are no devices installed for the specified ADAPTORNAME.
See IMAQHWINFO
I already know from imaqhwinfo that gentl has no DeviceIDs recognised (the {1x0 cell} from above).

Sign in to comment.

Accepted Answer

Shoaib Amjad
Shoaib Amjad on 4 Jul 2018
I solved my own problem...
Upgraded from R2017a to R2018a, opened up imaqtool just like before... and there it was. Can preview and acquire in 8-bit, and 10-bit preview works fine although the acquired images seem to be only black.

More Answers (1)

云 山
云 山 on 28 Dec 2021
Same problem

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!