Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

usb communication

Status
Not open for further replies.

d3g3sh

Technical User
May 5, 2006
8
0
0
SK
hi, is there some simple way how to read data from usb devices in delphi?
 
I think what you have to remember is that USB devices are mostly 'seen' by Windows so to read from a RAM Stick you just need to access it as you would any other 'drive'.
If you are talking about general serial comms, then Com port driver components will not 'see' a usb port because its not a comms port.

The 2 easy ways round this are.

A Windows driver that links to the USB bus and Widows then sees it as a serial port. e.g as provided by DLP design.
Your Delphi Comms component will then see this as another port.

A hardware dongle that converts USB to serial (we supply this with a gas generator monitoring application for case where the user has a laptop with no serial ports.
(in fact this is the same thing as the previous item, but the driver is 'in' the dongle so there is no need for an install.)

The third (not so easy) way is to write your own drivers (follow Nordlund's links ??)







Steve: Delphi a feersum engin indeed.
 
Hi!

Multi Ports Sniffer for COM LPT USB. v.3.0.2
By Alexey Zaharov. The best tool for doing LPT, COM and USB port's data transfer logging. Using this tool you can simply do monitoring and spying data transffered through ports. This is useful for people who want to research any additional HW connected to port like mobile phones.

Download For: CB1 CB2k6 CB3 CB4 CB5 CB6 D2 D2005 D2006 D3 D4 D5 D6 D7

Download Link:
{*********************************************}
You can also take a look at=>
{*********************************************}

OSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top