Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RS232 to USB
Message
De
26/02/2007 13:34:33
 
 
À
26/02/2007 11:37:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
01198809
Message ID:
01198875
Vues:
10
What device will be connected via USB? If it is just a storage device, treat it like any other drive. If you need to write to it and read a response (like comm) then look at:

Re: Communications with Serial & USB Ports Thread #1143504 Message #1176865

If you are lucky, the device will be HID compliant and there is already code available here on the UT for that.

Some resources:

http://www.lvr.com/usbfaq.htm
http://www.usb.org/developers/devclass_docs/usbcdc11.pdf
http://www2.hawaii.edu/~hermany/hid.htm
http://www.microsoft.com/whdc/resources/downloads.mspx
http://search.msn.com/results.aspx?FORM=TOOLBR&q=usb+api
http://www.starlight-xpress.co.uk/developers/USBInterface.bas
http://www.microsoft.com/mspress/books/sampchap/6262.aspx
http://www.delcom-eng.com/downloads/USBPRGMNL.pdf

>I have written several applications that communicate with other hardware from the PC using serial communications/rs232 via MSCOMM control.
>
>If I want to communicate with a USB device instead, how much different is that?
>
>Is there another control for that?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform