🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8226

Re: USB help

#8226
From: Tom Woodrow
Date: Wed, 17 Nov 2004 16:00
40 lines
2479 bytes
Rob,

After you install the drivers you need to figure what serial ports your 
device is configured as (COM4? check the driver docs). After that just 
write your code using the Asynch32 procedures.

You can configure the port using the object inspector or a  run time 
(after opening the port).

If you need examples just ask.

Tom Woodrow


Rob wrote:
> Tom Woodrow <tomwoodrow@comcast.net> wrote:
> 
>>Open and use a USB serial port just like a regular serial port. How you 
>>determine the port number (COMX) depends on the device. There are a few 
>>USB serial ports out there.
>>
>>I havs had great luck using TMS Software (www.tmssoftware.com) Asynch 32 
>>under C++Builder 5.
>>
>>Best Buy has one for $29 that works very well. Edgeport has a four port 
>>one that works OK also. Saelig (www.saelig.com) has a bunch of 1, 2, 4 
>>and 8 port (great deal at $199US) devices that also work great.
>>
>>Good luck
>>Tom Woodrow
>>www.dacworks.com
> 
> 
> Thanks for the help.
> I have installed TMS and my C++ window now sports a new tab with various icons.
> I'm still not quite sure how it works though. I have a driver disk for the USB device I need to communicate with. How does this interact with the C code? Do I simply plug in the devcice, install the driver and then use the various icons on TMS to communicate?
> 
> Confused.
> 
> Rob D
Technical Details
Message-ID: <419b7590$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <419a0198$1@newsgroups.borland.com> <419a2202$1@newsgroups.borland.com> <419b1ba5$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 08:00:17 -0800
From: Tom Woodrow <tomwoodrow@comcast.net>
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: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: USB help
References: <419a0198$1@newsgroups.borland.com> <419a2202$1@newsgroups.borland.com> <419b1ba5$1@newsgroups.borland.com>
In-Reply-To: <419b1ba5$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.6.92.22
Message-ID: <419b7590$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100707216 24.6.92.22 (17 Nov 2004 08:00:16 -0700)
Lines: 40
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail