Re: GNAT.Serial_Communications



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
.



Relevant Pages

  • minicom serial output
    ... I build electronics projects that connect to a computer's serial port. ... I've been using 'hyperterm' on Windows in order to have ... I've been trying to get them to work using minicom. ... flow control settings etc. etc. but minicom only seems to work ...
    (comp.os.linux.hardware)
  • Re: too many slow computer complaints
    ... Registry cleaners do NOT speed up a computer. ... And then you may need to reinstall windows and all your programs ... at their local big-name electronics store or because there is a sale. ... They believe the "if I buy this program, it will protect me" crap - and ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Q : how to write USB driver under Windows ?
    ... Use isochronous USB traffic in your device, and you will be realtime. ... Maxim Shatskih, Windows DDK MVP ... > transfer to a PC from a video analog source. ... > No question here about real time, bitrate, or electronics. ...
    (microsoft.public.development.device.drivers)
  • Re: Multiple Fax Devices and Windows Server 2003
    ... As stated below, they are all US Robotics V.92 PCI Internal fax modems, ... purchased from Fry's Electronics. ... The hardware ID in Windows for these is ...
    (microsoft.public.win2000.fax)
  • Re: Can a virus cause problem with CD-ROM?
    ... > manufacturer LG Electronics for any driver updates but ... windows should detect the hardware and install the appropriate drivers. ...
    (microsoft.public.security.virus)