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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6439f56f895df143 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-16 05:29:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!cyclone1.gnilink.net!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: New to Ada..need some help regarding Binary Conversion?? Date: Wed, 16 Oct 2002 08:27:46 -0400 Organization: MindSpring Enterprises Message-ID: References: <4ee1d187.0210150850.62ce918a@posting.google.com> <3DAC4F21.60B7A90D@ACM.org> <4ee1d187.0210160306.18667d1b@posting.google.com> NNTP-Posting-Host: d1.56.b2.ba X-Server-Date: 16 Oct 2002 12:29:21 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:29837 Date: 2002-10-16T12:29:21+00:00 List-Id: This is a pretty broad range of sources. All of this is going to be really hardware specific and isn't really an Ada question. I'm presuming that you are doing something embedded with no OS? You'll have to get the hardware reference materials out and find out specifically how to use these devices. If you do have an OS, then there is probably some means of getting the data through the OS and you'll have to look at the documentation for that. Once you figure out how to read the device, the best thing from there is to use Ada's fixed point types for the values. This was why they were invented so any scaled integer business you want to do should start with a clear understanding of how that works. MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ====================================================================== Paula wrote in message news:4ee1d187.0210160306.18667d1b@posting.google.com... > > The data (from what I understand) is coming from a vme card along a > bus. It will either be MIL-STD-1553, ARINC429, or HW signals. I am > using the Aonix ObjectAda compiler and I'm running it on Win 2000 > professional platform. > > Paula