comp.lang.ada
 help / color / mirror / Atom feed
From: "Jim Dorman" <jimd@pcada.com>
Subject: Re: Reading data from the serial port using ADA on an Unix platform
Date: 1996/08/26
Date: 1996-08-26T00:00:00+00:00	[thread overview]
Message-ID: <01bb9337$f51fb1c0$14692bce@ns.znet.com> (raw)
In-Reply-To: JDwxYGAJJjGyEwQO@djcull.demon.co.uk


It's not necessary to use any Pragmas to use RS232.  IntegrAda and the
AdaUser libraries for ActivAda contain an RS232 library.  Don't make your
job any harder than it needs to be!  Use the right tools for the job.

Why not stop by the Home of PCAda and check out your toolchest!  You can
visit us at "http://www.pcada.com."

-- 
Jim Dorman
Active Engineering Technologies, Inc.
Home of PC ADA
Voice:  (619) 414-9001
Fax:     (619) 414-9192
email:  jimd@pcada.com
URL:  http://www.pcada.com
Member of Team Ada!

Darel Cullen <Darel@djcull.demon.co.uk> wrote in article
<JDwxYGAJJjGyEwQO@djcull.demon.co.uk>...
> In article <Pine.OSF.3.95.960820092821.10850A-100000@leonis.nus.sg>,
> Quek Chee Kwang <engp6328@leonis.nus.sg> writes
> >Greetings.
> >
> >I'm new to ADA and I would like to know how to program in ADA to read
data
> >(binary & ascii) coming from the serial port (for instance, a modem) on
an
> >Unix platform.
> >
> >Thank you very much.
> >
> >Quek
> >
> >
> 
> Firstly Investigate your compilers pragma INTERFACE features. what you
> will need to do is build up a set of ADA functions and procedures that
> are directly bound to the C calls, in unix's case I think ioctl() would
> be a good place to start.
> basically , ADA has no features with which to read from a serial port,
> you'll have to use the C calls and bind them to ADA.
> 
> 
> -- 
> Darel Cullen
> 




      reply	other threads:[~1996-08-26  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20  0:00 Reading data from the serial port using ADA on an Unix platform Quek Chee Kwang
1996-08-20  0:00 ` Greg Bond
1996-08-20  0:00 ` Darel Cullen
1996-08-26  0:00   ` Jim Dorman [this message]
replies disabled

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