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,LOTS_OF_MONEY autolearn=ham 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-28 11:54:27 PST From: "Goochie" Newsgroups: comp.lang.ada References: <3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com> Subject: Re: Serial port programming. Date: Tue, 28 Jan 2003 19:54:23 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: dial-62-64-239-229.access.uk.tiscali.com Message-ID: <3e36dff1_2@mk-nntp-1.news.uk.worldonline.com> X-Trace: 28 Jan 2003 19:54:25 GMT, dial-62-64-239-229.access.uk.tiscali.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!kibo.news.demon.net!demon!mk-nntp-1.news.uk.worldonline.com!dial-62-64-239-229.access.uk.tiscali.com Xref: archiver1.google.com comp.lang.ada:33513 Date: 2003-01-28T19:54:23+00:00 List-Id: Steve, I have to access the COM ports of a PC which is run under the WinNT operating system. Any help would be greatfully received. Thanks Goochie "Steve" wrote in message news:uy2Y9.14811$eM6.22827@rwcrnsc51.ops.asp.att.net... > "Goochie" wrote in message > news:3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com... > > 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. > > Looking at the ObjectAda web site, it appears ObjectAda is available for > Windows, Unix, Real-Time/Embedded, Real-Time/Raven, Real-Time/Tornado, > Real-Time/LinxOS. Which one of these are you using? > > It is unlikely you will have to do low level programming of the serial chip. > It is more likely that you just need to figure out how to call the OS/Kernel > routines to do the work for you. > > Which OS? > > If it happens to be Windows NT/W2k, I have a nice thick binding I can send. > > Steve > (The Duck) > > > Can anyone give me any pointer to example code or documentation? > > > > Thanks > > > > Goochie > > > > > >