Thread Subject: how to get the camera handler in image acquisition toolbox adaptor?

Subject: how to get the camera handler in image acquisition toolbox adaptor?

From: Sean

Date: 26 Oct, 2009 22:33:04

Message: 1 of 1

I am working on the development of a customised image acquisition toolboc adaptor. I have device's SDK(uEye camera SDK). Any image acquisition starts from getting the camera handler by the function:
       HIDS m_hCam = (HIDS) 0;
       is_InitCamera(&m_hCam, m_hWndDisplay);
,where m_hCam is the type of "void *". If there is only one camera linking to the computer, Matlab will crash when typing command "preview". But, if I have two cameras connected, then it is fine.

So, I guess the first camera is being locked by the adaptor itself. I fail to gain the access to the default camera. How do I get the camera handler from the adaptor and pass to m_hCam? I read the toolbox user's guide but there is little information on this topic.

Many tks for comments.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
devices sdk Sean 26 Oct, 2009 18:34:06
adaptor Sean 26 Oct, 2009 18:34:06
image acquisiti... Sean 26 Oct, 2009 18:34:05
rssFeed for this Thread

Contact us at files@mathworks.com