From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc65ab136f46904d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Mon, 11 Apr 2011 11:11:05 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 11 Apr 2011 11:11:05 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9/3/IeP/twTQFh5cJa2wYg"; logging-data="11742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198ouxpm1zEuZyivNHenbiuyWAKxVEwMi0=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:Gy9/NcsHBJbX6P2eplCN0KUcyew= Xref: g2news2.google.com comp.lang.ada:19725 Date: 2011-04-11T11:11:05+00:00 List-Id: 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