comp.lang.ada
 help / color / mirror / Atom feed
From: "William J. Thomsa" <wjthomas@wcvt.com>
Subject: Re: Serial port programming.
Date: Sun, 26 Jan 2003 13:16:33 -0500
Date: 2003-01-26T13:16:33-05:00	[thread overview]
Message-ID: <v389fvg0sm45c2@corp.supernews.com> (raw)
In-Reply-To: 3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com

If you look in the Win32 help that comes with ObjectAda (not the AdaWin32
help, but the orig one from MS), and look up Communications that will take
you to a section that explains all of the functions associated with serial
communications in Win32.

The next thing you want to look for is an article (on msdn.microsoft.com)
entitled "Serial Communications in Win32". This white paper tells you all
about using the above mentioned functions using Overlapped IO which allows
you to set up event, receive and transmit tasks to service the ports.

The whole subject can get quite complex but if you stick with it you can
acheive a nice abstraction for a "port" (using taksking) that will not spend
most of its time polling the ports for traffic.

WJT





  parent reply	other threads:[~2003-01-26 18:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 22:47 Serial port programming Goochie
2003-01-24  0:25 ` John R. Strohm
2003-01-24  3:38 ` Steve
2003-01-28 19:54   ` Goochie
2003-01-24 15:18 ` Jerry Petrey
2003-01-26 18:16 ` William J. Thomsa [this message]
2003-01-28 18:04 ` Goochie
  -- strict thread matches above, loose matches on Subject: below --
2001-05-30 16:13 serial " EtienneB
2001-05-30 17:17 ` David C. Hoos, Sr.
2001-05-30 17:40   ` EtienneB
2001-05-30 20:12     ` Ted Dennison
2001-05-31  3:15       ` Randy Brukardt
2001-05-30 20:24     ` Stephen Leake
2001-06-01  2:36       ` DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox