Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
uEye usb cam with imaq toolbox

Subject: uEye usb cam with imaq toolbox

From: Sascha D

Date: 6 Apr, 2011 13:00:23

Message: 1 of 10

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

Subject: uEye usb cam with imaq toolbox

From: Sascha D

Date: 29 Apr, 2011 09:47:04

Message: 2 of 10

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>...
> 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

Subject: uEye usb cam with imaq toolbox

From: Avi

Date: 2 Aug, 2011 22:10:09

Message: 3 of 10

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

Subject: uEye usb cam with imaq toolbox

From: Zoran Popovic

Date: 21 Dec, 2012 08:17:16

Message: 4 of 10

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>...
> 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

Subject: uEye usb cam with imaq toolbox

From: Sami

Date: 3 Jan, 2013 10:33:08

Message: 5 of 10

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" <zoran@oft.gu.se> wrote in message <kb15uc$esn$1@newscl01ah.mathworks.com>...
> 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>...
> > 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

Subject: uEye usb cam with imaq toolbox

From: Ivan

Date: 4 May, 2013 20:22:10

Message: 6 of 10

"Sascha D" wrote in message <inho57$5mo$1@fred.mathworks.com>...
> 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

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

Subject: uEye usb cam with imaq toolbox

From: Jeff Wong

Date: 5 Jun, 2013 22:53:17

Message: 7 of 10

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 " <lemaire.ivan@gmail.com> wrote in message <km3qli$2o7$1@newscl01ah.mathworks.com>...
> "Sascha D" wrote in message <inho57$5mo$1@fred.mathworks.com>...
> > 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
>
> 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

Subject: uEye usb cam with imaq toolbox

From: Jeff Wong

Date: 5 Jun, 2013 22:54:15

Message: 8 of 10

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 " <lemaire.ivan@gmail.com> wrote in message <km3qli$2o7$1@newscl01ah.mathworks.com>...
> "Sascha D" wrote in message <inho57$5mo$1@fred.mathworks.com>...
> > 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
>
> 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

Subject: uEye usb cam with imaq toolbox

From: Andreas

Date: 26 Feb, 2014 10:24:12

Message: 9 of 10

"Sascha D" wrote in message <inho57$5mo$1@fred.mathworks.com>...
> 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

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

Subject: uEye usb cam with imaq toolbox

From: Carsten

Date: 17 Apr, 2014 10:00:12

Message: 10 of 10

> 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

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us