Article View: borland.public.cppbuilder.nativeapi
Article #8220Re: USB help
From: AlexB
Date: Wed, 17 Nov 2004 03:44
Date: Wed, 17 Nov 2004 03:44
13 lines
1569 bytes
1569 bytes
Rob wrote: > I have C++ builder and at present communicate with some devices using RS232. > I need to swap these over to USB. The same data with no extra DMAs or anything silly like that. > Just simple serial 2 way comms. > > Is there a simple way to do it? Can I just set it up to use WriteFile and ReadFile like with RS232? In first you have to buy (or make it yourself) a special device "USB-RS232" converter (www.ftdichip.com for example). Then you must install a driver for this device. Driver provides a virtual COM-port for RS232-like communications. AlexB.
Technical Details
Message-ID:
<419ac919@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<419a0198$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5f702238225b874b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 17 Nov 2004 09:44:24 +0600 From: AlexB <b.a.v@ngs.ru> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: ru, en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: USB help References: <419a0198$1@newsgroups.borland.com> In-Reply-To: <419a0198$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.192.185.54 Message-ID: <419ac919@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100663065 212.192.185.54 (16 Nov 2004 19:44:25 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail