Re: Data acquisition from USB port.



Naeem wrote:
> I have attached a Webcam on the USB port of a PC (Compaq P3). I want to
> acquire the data transmitted by webcam directly through USB port using
> c++. The functions inport() and inportb() did'nt work. Please help me
> on writting this code.

There's a cheater way and an easy way and a hard way and an
outrageously hard way:

Cheater way: find a program that does what you want

Easy way: find the Video for Windows (VFW) or WDM driver for the webcam
(chances are it's already installed) and read up on the function calls
to get data from it. Or cheat and look at an open source project that
does this, like virtualdub.

Hard way: use libusb to let a user mode program talk on the usb and
then learn to talk to the webcam

Outrageously hard way: get the windows driver development kit and write
your own usb driver that interacts with windows more intimately

.



Relevant Pages

  • Re: help with my logitech webcam
    ... The latest drivers can be found at the Logitech website at: ... check the cable from the webcam to the USB port is ... a driver issue. ...
    (microsoft.public.windowsxp.video)
  • webcam
    ... >My XP keeps kicking out my driver for the webcam, ... then won't detect it in the USB port. ... ought to go to the compatibility page ans see if it is. ...
    (microsoft.public.windowsxp.perform_maintain)
  • webcam
    ... My XP keeps kicking out my driver for the webcam, and then won't detect it in the USB port. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Webcam stalls XP boot up
    ... Webcam plugged into my USB port when I boot up the computer, ... I can plug the webcam into the USB port once windows is running and I don't ... It could be that your BIOS might be confused with the ...
    (microsoft.public.windowsxp.hardware)
  • USB port on FPGA - How is data transmitted?
    ... USB port (and Cypress FX2 MicroController). ... My goal is to connect a webcam to the FPGA board and process that input ... I'm using an UVC (USB Video Class) compatible webcam, ...
    (comp.arch.fpga)