comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Help me!
Date: 1999/05/11
Date: 1999-05-11T00:00:00+00:00	[thread overview]
Message-ID: <7h9ne8$9g8$1@nnrp1.deja.com> (raw)
In-Reply-To: 37380E05.FDC4E1C5@solar.dhiltd.co.kr

In article <37380E05.FDC4E1C5@solar.dhiltd.co.kr>,
  ktxleemg@solar.dhiltd.co.kr wrote:
> Lady and gentleman.!
>
> I'm beginner in  Ada 95.
> How do I communicate with RS232 with Ada95?
> I use a win95 as a OS.

This is almost becomming a FAQ.

If you just want simple interaction, you can use one of the Ada.*_IO
packages to open the device ("COM1:" or "COM2:" most likely, depending
on your PC's port setup) as a file.

If you want more control (eg: setting timeouts) then you will need to
make Win32 system calls just like any C programmer. To link to the Win32
system calls, you will need a set of Ada/Win32 bindings for the
routines you want to use. If you are feeling mildly adventerous, you can
write own. Otherwise, I believe you can get a set from www.adapower.com

--
T.E.D.


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




  parent reply	other threads:[~1999-05-11  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-11  0:00 Help me! lee myung-gu
1999-05-11  0:00 ` David Botton
1999-05-11  0:00 ` dennison [this message]
  -- strict thread matches above, loose matches on Subject: below --
1988-05-24  0:00 HELP ME! JJ
1988-05-25 14:35 ` Ryutarou Ohbuchi
1988-05-26  6:04   ` John Berryhill
1988-05-26  5:05 ` Sam Ganesan
replies disabled

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