Image acquisition: gentl: unable to open device

조회 수: 9 (최근 30일)
Bernard Panneton
Bernard Panneton 2015년 2월 5일
편집: Walter Roberson 2016년 3월 2일
I use a XIMEA camera using gentl. Inside a gui, the following code is erratic (sometimes works, others don't):
handles.vid=videoinput('gentl',1,'BGRA8Packed');
This has nothing to do with the 'BGRA8Packed' format as the same is happening with other supported formats. Same erratic behaviour with the image acquisition app. I run Matlab 2014b, a single USB3 camera connected with the latest support software from XIMEA.
Thanks
  댓글 수: 1
Mehul Chhallani
Mehul Chhallani 2016년 3월 2일
You can try opening the image aq toolbox and then select your camera after you have refereshed the cameras and ofcourse after you have installed the Gentl hardware package.
When you go to 'imaqtool' in matlab you will see your camera and then you can see the command in the window which should be something like,
vid=videoinput('gentl',1,'mono8');
Go for mono8 or mono10 or mono12.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by