Re: Data acquisition from USB port.
- From: cs_posting@xxxxxxxxxxx
- Date: 19 Sep 2005 11:11:09 -0700
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
.
- References:
- Data acquisition from USB port.
- From: Naeem
- Data acquisition from USB port.
- Prev by Date: Re: RS232/485 impromptu survey.
- Next by Date: Re: Data acquisition from USB port.
- Previous by thread: Re: Data acquisition from USB port.
- Next by thread: DMA typical times
- Index(es):
Relevant Pages
|