Search  
Sunday, November 23, 2008 ..:: Forum ::.. Register  Login
 HomePage Minimize

 Print   

 Products Minimize

 Print   

 MSRS Minimize

 Print   

      
 RoboticsConnection Forum Minimize
SearchForum Home
  Discussions  Microsoft Robotics Studio / Windows CE  USB Camera Driv...
 USB Camera Driver for Windows CE 6.0
 
 1/10/2008 4:54:07 PM
luchin
6 posts


USB Camera Driver for Windows CE 6.0
Hello again, thanks for the post, was very usefull. Now i have another big question: How i use the usb camera driver for windows ce??, i'm trying to run a camtest, for this driver, and is not working. I'm using a Logitech Quick Cam Pro 5000. Thanks again!
 1/12/2008 7:42:38 AM
jywilson
35 posts


Re: USB Camera Driver for Windows CE 6.0

There two types of USB drivers available in CE to support this camera.  There is the one included with Platform Builder (CE 6.0) called the "USB Camera Driver" and another developed by Doug Boiling and supported on Codeplex.  The first driver is DirectShow compliant and will allow you to access image data by building a filter graph.  Sample code for how to construct a filter graph to access this camera is available on the WiMo website.  When you download the code you will need to browse to the directory containing the native code, and you should find a class designed to access cameras under CE.  The second driver comes with it's own samples and uses a custom IOCTL interface.  This may be easier for you to use than the first driver, but it lacks support for standard DirectShow codecs which can be plugged into a filter graph.

Keep us posted on your progress.  This is a common question, and your experiences will be helpful to others with the same question.


James Y. Wilson
http://www.learningce.com
Fortudine Vincimus!

 1/30/2008 9:38:54 AM
luchin
6 posts


Re: USB Camera Driver for Windows CE 6.0
A couple of weeks ago i find the answer. I download de webcam driver from codeplex, and the hard part was compile it. I'm a begginer with windows ce and platform builder, so for other begginers the instructions that i find are:

1 - create osdesign under PB6
2 - create dir: $(_WINCEROOT)\platform\<osdesign_name>\drivers\<drivername>
3 - put contents of zip there (so makefile and sources are directly in <drivername> folder)
4 - in PlatformBuilder, click 'Build->Open Release Directory in Build Window'
5 - navigate to folder created under step 2 (using 'CD ..')
6 - in same console, type 'sysgen'
7 - finally, in same console, type 'build -c'

you should end up with no errors and a 'WebCam.dll' in 'RelDir' under your OSDesign folder (so $(_WINCEROOT)\OSDesigns\<yourdesign>\RelDir\<debug/release>\).


This instructions were in gotdotnet but the site is closed now. So, in addition, i have to add in the propierties of the project the "includes path" and  i exclude the debug .h.

If anyone know how to add the dll to the image , let me know please.

bye!
 1/30/2008 10:03:50 AM
jywilson
35 posts


Re: USB Camera Driver for Windows CE 6.0
If you are using CE 6.0 with Service Pack 1, all you need to do is go to the Catalog, search for "USB Camera Driver", and click the check box.  Then rebuild your OS Design using "Build | Advanced Build Commands | Sysgen".  This will cause the driver DLL and all required registry entries to be added to the OS image (NK.BIN file).

James Y. Wilson
http://www.learningce.com
Fortudine Vincimus!

  Discussions  Microsoft Robotics Studio / Windows CE  USB Camera Driv...

SearchSearch  Forum HomeForum Home    Print   

Copyright 2004-2007 Summerour Robotics Corp   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by DotNetNuke Corporation