Re: GNAT.Serial_Communications
- From: tonyg <tonythegair@xxxxxxxxx>
- Date: Wed, 13 Apr 2011 00:49:30 -0700 (PDT)
On Apr 11, 12:11 pm, Brian Drummond <br...@xxxxxxxxxxxxxxxxxx> wrote:
On Mon, 11 Apr 2011 03:26:38 -0700, tonyg wrote:
I have been using this package in code which receives and sends messages
across a serial interface to some electronics.
Unfortunately my task being locked on the
GNAT_Serial_Communications.write call with no error or exception. I
opened the port with these options
Unfortunately the write call is still indefinetely locking and the
timeout does not seem to apply to writes.
Is there a way to set "control flow" to "none"?
It is possible the hardware is sitting waiting for a handshake signal.
Also have you checked the serial link in any other way, e.g. with Minicom
(or Hyperterminal on Windows)? Or with another terminal (or PC running
Minicom) in the place of "some electronics".
- Brian
The serial link has been tested using hyperterminal and a windows
application, I am now constructing a linux application using Ada
rather than C sharp which was used for windows. The parity / 8 bit
stuff is definitely ok. I was fishing to see if anyone had used the
serial communications and could confirm it was all working etc or had
a suggestion on why etc. Thanks for your help Brian
.
- Follow-Ups:
- Re: GNAT.Serial_Communications
- From: Alex Mentis
- Re: GNAT.Serial_Communications
- References:
- GNAT.Serial_Communications
- From: tonyg
- Re: GNAT.Serial_Communications
- From: Brian Drummond
- GNAT.Serial_Communications
- Prev by Date: Re: Parser interface design
- Next by Date: Re: Parser interface design
- Previous by thread: Re: GNAT.Serial_Communications
- Next by thread: Re: GNAT.Serial_Communications
- Index(es):
Relevant Pages
|