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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,128c5cdc2331c6ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-24 07:18:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!newsfeed.us.prserv.net!prserv.net!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3E315936.61522372@raytheon.com> From: Jerry Petrey <"jdpetrey"@raytheon.com> X-Mailer: Mozilla 4.79 [en]C-CCK-MCD CSC;Raytheon (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Serial port programming. References: <3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 24 Jan 2003 08:18:14 -0700 NNTP-Posting-Host: 147.24.93.55 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1043421495 147.24.93.55 (Fri, 24 Jan 2003 09:18:15 CST) NNTP-Posting-Date: Fri, 24 Jan 2003 09:18:15 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:33403 Date: 2003-01-24T08:18:14-07:00 List-Id: Goochie wrote: > Hi, > > I'm totally new to programming in Ada and I need some help with writing code > so I can access the serial port. Initiallt I have to try and do this using > Object Ada on an Intel based PC. > > Can anyone give me any pointer to example code or documentation? > > Thanks > > Goochie I have recently used Stephen Leake's com port package to do a serial port driver for a hardware simulator GUI application running on Windows and using GNAT Ada. Take a look at his packages at http://users.erols.com/leakstan/Stephe/ . I made some small modifications to suit my needs (to handle pure binary data rather than ASCII data) but I think you will find these very helpful. Jerry -- --------------------------------------------------------------------------------- -- Jerry Petrey -- Senior Principal Systems Engineer - Navigation (GPS/INS), Guidance, & Control -- Raytheon Missile Systems - Member Team Ada & Team Forth -- NOTE: please remove in email address to reply ---------------------------------------------------------------------------------