Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

uEye usb cam with imaq toolbox

590 views
Skip to first unread message

Sascha D

unread,
Apr 6, 2011, 9:00:23 AM4/6/11
to
Hi,
I want to use an uEye USB camera with the Image Acquisition Toolbox in Matlab 2008b. Since i have no suitable adaptor for my needs i decided to write my own with the adaptorkit and the uEye SDK.
I try to initialize the camera inside the getAvailHW() function.
I can retrieve information from the cameras EEPROM with some functions from the SDK. But when i try to call is_InitCamera() to initialize the cam, i retrieve an error that the device cannot be opened. A flag indicates the camera is in use, so it seems it is somehow blocked by the Adaptorkit/Matlab, since the exact same code i use for the camera works when i use it eg. in a console-application.
When i change the ID from the camera with provided tools from the vendor, the init the cam works but matlab crashes with a segmentation fault.
Any help on this topic is highly appreciated,
thx Sascha

Sascha D

unread,
Apr 29, 2011, 5:47:04 AM4/29/11
to
Hi again,
if someone comes up with the same problem i found a solution. The camera was blocked by the standard winvideo adaptor. I dont know if one can deactivate or unregister it in matlab directly, so I simply renamed the adaptor dll mwwinvideoimaq.dll in the ...\toolbox\imaq\imaqadaptors\win32 Folder, so Matlab wont recognize it anymore. Now i can acces the camera with my own adaptor without problems.

"Sascha D" wrote in message <inho57$5mo$1...@fred.mathworks.com>...

Avi

unread,
Aug 2, 2011, 6:10:09 PM8/2/11
to
Hello,

I ordered a UEye camera and will like to use the SDK via Matlab,

Can you please send me or post on file exchange how to all the camera SDK from Matlab

Thanks a lot

Zoran Popovic

unread,
Dec 21, 2012, 3:17:16 AM12/21/12
to
Hi Sascha,

I want to be able to control the frame rate of an IDS uEye camera from Matlab. This functionality is not implemented in the Image Acquisition Toolbox in Matlab. If you have implemented this in your adaptor, I would appreciate if you are willing to share this.

Many thanks in advance,
Zoran

"Sascha D" wrote in message <inho57$5mo$1...@fred.mathworks.com>...

Sami

unread,
Jan 3, 2013, 5:33:08 AM1/3/13
to
Hi,

I'm also using IDS uEye cameras, and it would be great if you could share the adaptor for Matlab. Doing research with c/c++ is sometimes more bug hunting than research...

~S~

ps. OK - I could reinvent the wheel, but...

"Zoran Popovic" <zo...@oft.gu.se> wrote in message <kb15uc$esn$1...@newscl01ah.mathworks.com>...

Ivan

unread,
May 4, 2013, 4:22:10 PM5/4/13
to
"Sascha D" wrote in message <inho57$5mo$1...@fred.mathworks.com>...
Hi Sascha,

I'm also trying to use an uEye USB camera with Matlab. It would be very helpfull if you sended me your way to adapt these two..

Kind regards and thanks in advance,

Ivan

Jeff Wong

unread,
Jun 5, 2013, 6:53:17 PM6/5/13
to
Hi,
I am doing the same thing. It would be great if you can share the adaptor. I have been trying to build my own adaptor, but this is my first time handling hardware with Matlab, so not much luck. Thank you very much for the help.

Jeff


"Ivan " <lemair...@gmail.com> wrote in message <km3qli$2o7$1...@newscl01ah.mathworks.com>...

Jeff Wong

unread,
Jun 5, 2013, 6:54:15 PM6/5/13
to
Hi,
I am doing the same thing. It would be great if you can share the adaptor. I have been trying to build my own adaptor, but this is my first time handling hardware with Matlab, so not much luck. Thank you very much for the help.

Jeff


"Ivan " <lemair...@gmail.com> wrote in message <km3qli$2o7$1...@newscl01ah.mathworks.com>...

Andreas

unread,
Feb 26, 2014, 5:24:12 AM2/26/14
to
"Sascha D" wrote in message <inho57$5mo$1...@fred.mathworks.com>...
Hi Sascha,

I'm also interested in the adaptor you wrote for the uEye camera. Would you mind sharing it or sending it to me?

Thanks!
Best regards,
Andi

Carsten

unread,
Apr 17, 2014, 6:00:12 AM4/17/14
to
> Hi Sascha,
>
> I'm also interested in the adaptor you wrote for the uEye camera. Would you mind sharing it or sending it to me?
>
> Thanks!
> Best regards,
> Andi

Hey there,

I'm also interested and maybe someone has a solution? I will try to write my own adaptor but i have never done something like that so help would be appreciated.

Best regards,
Carsten

Oliver

unread,
Jul 15, 2014, 10:25:18 AM7/15/14
to
"Carsten" wrote in message <lio8nc$f5r$1...@newscl01ah.mathworks.com>...
Hi everyone,

I'm struggling with the very same problem since quiet a while now. I also want to use an IDS ueye camera via USB with the imaq toolbox.

So far i managed to build kind of an empty adaptor with the Image Acquisition Toolbox™ Adaptor Kit - Users guide. I added the IDS example program "SimpleLive" to my project and integrated the header files. That worked out so far. But I'm not getting the camera SDK function (is_InitCamera, is_capturevideo...) connected with the adaptor functions (openDevice, closeDevice...). I'm working with Microsoft Visual Studios 2013 in C++. Any hints, examples, documents about how I can do this would be great!

Best regards!
Oliver

Oliver

unread,
Jul 15, 2014, 10:26:13 AM7/15/14
to
"Carsten" wrote in message <lio8nc$f5r$1...@newscl01ah.mathworks.com>...

Pradnya

unread,
Jan 9, 2015, 6:11:12 PM1/9/15
to
Hello everyone,

It seems like everybody is struggling with uEye USB camera. Does anyone have the adaptor for the camera and would help me?

Thank you,

Pradnya

Javier Gamez

unread,
Jul 31, 2015, 4:43:11 AM7/31/15
to
Hello everyone,

I hope it's not too late to ask for the custom adaptor that Sascha D wrote. Would any of you be so kind as to share it with me if Sascha D has no impediment?

Thanks in advance,
Sergio.

gulfoss

unread,
Jan 13, 2016, 9:34:10 AM1/13/16
to
Hi everyone,

Unsurprisingly, I also need an adaptor for a uEye USB Camera. Would anyone be kind enough to share it with me?

Thanks,
Loïc

Robert Style

unread,
Feb 10, 2016, 5:27:09 AM2/10/16
to
"gulfoss" wrote in message <n75n8r$17i$1...@newscl01ah.mathworks.com>...
Hey Loic, have you installed the winvideo adaptor?
http://nl.mathworks.com/help/imaq/installing-the-support-packages-for-image-acquisition-toolbox-adaptors.html

I know Sascha mentioned that didn't work for him, but I suspect it might be to do with the old version of Matlab he's running. I installed the drivers that came with the device, then added this adaptor (Matlab 2010b and Matlab 2014b) and it worked immediately with imaqtool...

gulfoss

unread,
Feb 10, 2016, 7:36:09 AM2/10/16
to
"Robert Style" wrote in message <n9f39n$qv2$1...@newscl01ah.mathworks.com>...
>
> Hey Loic, have you installed the winvideo adaptor?
> http://nl.mathworks.com/help/imaq/installing-the-support-packages-for-image-acquisition-toolbox-adaptors.html
>
> I know Sascha mentioned that didn't work for him, but I suspect it might be to do with the old version of Matlab he's running. I installed the drivers that came with the device, then added this adaptor (Matlab 2010b and Matlab 2014b) and it worked immediately with imaqtool...

Thank you, that's what I did I think (I don't really remember, it was about 3 weeks ago) and it works fine.

wybi...@gmail.com

unread,
Dec 7, 2016, 1:26:10 PM12/7/16
to
0 new messages