From: chris.aseltine on 13 Dec 2006 00:53 Hapary wrote: > Thank you for your replies. The speeds are in kilo bits per seconds. I > was using hyperterminal's SendTextFile to measure the speed, but I'll > try to use WriteFile directly, are there any suggestions for the > parameters to use with CreateFile/WriteFile with usb ? Even 300 kilobits/sec is not very much, depending on the capabilities of your device. I've been able to do maybe 3Mbps tops with usbser (the XP version). I'd reiterate my suggestion to take a trace on the wire to see why the speed is so slow. Similarly, set your device up to send data as fast as it can and acknowledge data as fast as it can, and then just start two loops on ReadFile/WriteFile() issuing, say, 1K blocks of data in a continuous loop...then monitor bytes over time to measure the performance.
First
|
Prev
|
Pages: 1 2 Prev: Printer driver samples Next: How to install VHIDMINI driver program on VISTA 64BIT OS |