- 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.
Connecting allied vision camera to MATLAB, it is detected in image acquisition toolbox but MATLAB crashes as I try to open it
9 次查看(过去 30 天)
显示 更早的评论
-> 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
0 个评论
回答(1 个)
Sarthak
2023-8-22
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.
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GigE Vision Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!