Re: How to read USB devices?
I'm using Visual Studio 2005
Re: How to read USB devices?
You should read the manual to see if there is any description of the API of the device. Without knowing what kind of stuff goes in or comes out, it is quite impossible to know how to control anything.
Some USB device drivers create virtual COM-port that can be used to read/write data between computer and the device.
Re: How to read USB devices?
Well there is no actual documentation I can find. It's an XBOX controller so it's made by microsoft and it works via USB with some of their products or whatnot, but I don't know how to use it. There's not actual programming guide that I know of for it, but I've used a USB sniffer and seen the packets back and forth if that helps.
Re: How to read USB devices?
Re: How to read USB devices?
hello there
I am having similar difficulties in interfacing with a usb device using C++. Did you have any luck on your behalf on getting that to work? If so could you please help me out by pointing me in the right direction as to how to interface with a usb device ??
Re: How to read USB devices?
I recently bought a USB interface device to learn how to program such an application. The sample software that was supplied with the board is written in Visual Basic so I converted it to CSharp. I have it working in a Forms Application for testing and then I incorporated the USB interface code into a Console Morse Code Application.
The following URLs are a place to start if you choose to get a board for learning purposes.
Good luck in learning how to do the interface.
http://www.elexp.com/tst_bkit.htm
http://www.delcom-eng.com/downloads/USBPRGMNL.pdf
Re: How to read USB devices?
Thanks a lot Jim
the pdf file you linked is awesome!!
Goodluck to you too!
Re: How to read USB devices?
Glad the link was of some use to you.The following link describes the packets that the USB controllers in Delcom products recognize and respond to. I am sure that the device that you want to interface to uses different commands, but the Delcom info might be helpful to you.
http://www.delcom-eng.com/downloads/USBIODS.pdf