🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Comm Port

#8863
From: McKool
Date: Mon, 13 Sep 2004 14:02
11 lines
1500 bytes
Hello, I'm sending bytes through the port to a device.  I need to know the 
times when the information come to the device, i mean, calculate the needed 
time for a byte to travel from the port to the target.  I configure the port 
to 360 baud and i send 0x0, then a want to change the baud to 10400 just 
when i the 0x0 was received and send other byte.  I have to send this two 
bytes with that configuration in a time between 49 and 51 millis.... So the 
question is how can calculate the time needed in each configuration to 
complete a send of a byte in order to calculate my sending times.... shall 
be a formula for that, but i don't know it....

Thanks for your help.
Technical Details
Message-ID: <4145a779$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c3fce443b4c5c053,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "McKool" <kenethw@peak-system.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Comm Port
Date: Mon, 13 Sep 2004 16:02:06 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 213.157.13.214
Message-ID: <4145a779$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095083897 213.157.13.214 (13 Sep 2004 06:58:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail