- 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에서 GenICam Interface에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!