Azzera filtri
Azzera filtri

Connecting allied vision camera to MATLAB, it is detected in image acquisition toolbox but MATLAB crashes as I try to open it

7 visualizzazioni (ultimi 30 giorni)
-> Trying to connect Hyper Spectral Camera Pika NIR with MATLAB to get live feed.
-> Installed Vimba SDK, API provided by manufacturer
-> Installed adapters, gige and genicam in MATLAB
-> The camera is connected through ethernet cable
-> The camera is detected by MATLAB image acquisition explorer.
-> Two formats are displayed, gentl and gige
-> Clicking anyone results in MATLAB crashing and giving crash log.
-> Crash log says: Assertion in struct mxArray_tag *__cdecl `anonymousnamespace'::MxCreateStringNCharsT_safe::operator ()(const char *,const unsigned char *,unsigned __int64) const at B:\matlab\foundation\matrix\src\matrix\array2.cpp line 500: mxCreateString called with non- UTF-8 input: Gain 0, 25.000 C, 1000 s

Risposte (1)

Sarthak
Sarthak il 22 Ago 2023
Hi Gaganjot,
As per my understanding, the crash log indicated the use of non UTF-8 characters in the camera settings. The function ‘mxCreateString’ in MATLAB expects UTF-8 input but it seems that the camera settings contain non UTF-8 characters. Please try to check the camera’s documentation or modify the camera settings to use only UTF-8 characters.
AV cameras do support common vision standards, but if after installing the Image Acquisition Toolbox™ software and using it to establish a connection to your image acquisition device, you are unable to acquire data or encounter other problems, try these troubleshooting steps first. They might help fix the problem.
  • Verify that your image acquisition hardware is functioning properly.
  • If the hardware is functioning properly, verify that you are using a hardware device driver that is compatible with the Image Acquisition Toolbox software.
You can refer to the troubleshooting overview documentation mentioned below.
However, if you are unable to resolve your problem, you should run the ‘imaqsupport’ function to obtain diagnostics information which can also help you to troubleshoot your problem or may contact MathWorks Technical Support.
I have attached the link to Contact Support for your support.

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by