I've successfully used the JvHidDeviceController component (part of the Jedi
VCL library) to obtain data from a USB device (in this case a gamepad).
There are demos supplied.

You'll need to work out the format of the data obtained, but hopefully
self-explanatory or discoverable.

 

Wes

 

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 12 August 2010 1:02 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Reading data from a USB

 

USB devices generally have unique interfaces and require specific drivers to
access them.  I've got a USB thermometer here which I wrote code to access
via a DLL they provide.

 

Unfortunately it's nothing like RS232.  You would need to find a device that
meets your needs, or just purchase a USB to serial converter.

 

Ross.

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Marshland Engineering
Sent: Wednesday, 11 August 2010 11:30 PM
To: delphi@delphi.org.nz
Subject: [DUG] Reading data from a USB

 

I'm working with a data logger and currently get my data from it through an
RS232 port. 

Anyone used the USB for retrieving data and if so how ? 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to