Results 1 to 4 of 4

Thread: GPS code location

  1. #1
    Join Date
    Jun 2005
    Location
    Nashville, TN, USA.
    Posts
    113

    Default GPS code location

    I have searched through the GPS xml code trying to discover where the information shown in this linked picture is located. I have looked at every section of code that contains the word runway but cannot find, or do not recognize, what I'm looking for.

    http://inlayartglass.com/GPSquestion.gif

    Would someone please explain what section of the GPS code produces this graphic and associated runway info?
    Thanks,
    Glenn

  2. #2

    Default RE: GPS code location

    The gauge code is sectioned according to the "Groups" and "Pages" within the "Groups."

    Note that this page is part of the "Waypoint Group" and the page name is "Airport Runways."

    Use the "Find" feature to rapidly scan through the code looking for the "keywords," and you'll find this:


    <Element Name="Airport Location Page">

    ..........snipped for brevity...........

    <Element Name="Airport Runways Page">

    The code you're looking for follows this comment tag... ;)

    Keep in mind that this gauge code makes very heavy use of @Macros, so be prepared to do a bit more searching to locate the @Macro code as well...
    Bill Leaming
    Gauge Programming - 3d Modeling Eaglesoft & Military Visualizations
    Flightsim.com Panels & Gauges Forum Moderator
    Flightsim Rig: Intel Core i7-2600K - 8GB DDR3 1333 - GeForce GTX550Ti 1GB - Win7 64bit Home Premium
    Development Rig1: Intel Core i7-3770k - 16GB DDR3 - Dual Radeon HD7770 SLI 1GB - Win7 64bit Professional
    Development Rig2: Intel Core i7-860 - 8GB DDR3 Corsair - GeForce GTS240 1GB - Win7 64bit Home Premium
    NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...

  3. #3
    Join Date
    Jun 2005
    Location
    Nashville, TN, USA.
    Posts
    113

    Default RE: GPS code location

    Thanks for the info. A couple of points I'm confuse on.
    Is this line,
    @c:WaypointAirportRunwayDesignation
    defined by
    <Macro Name="c">C:fs9gps</Macro>

    What is the "WaypointAirportRunwayDesignation" part, and what does the colon indicate?
    Glenn

  4. #4

    Default RE: GPS code location

    @c:WaypointAirportRunwayDesignation is the runway number

    @c: is the short form that calls the macro and passes the runway number to the fs9gps.dll module and retrieves the information requested...

    In short, the above is "Show me the information for runway number XX" and the fs9gps.dll returns the requested data.
    Bill Leaming
    Gauge Programming - 3d Modeling Eaglesoft & Military Visualizations
    Flightsim.com Panels & Gauges Forum Moderator
    Flightsim Rig: Intel Core i7-2600K - 8GB DDR3 1333 - GeForce GTX550Ti 1GB - Win7 64bit Home Premium
    Development Rig1: Intel Core i7-3770k - 16GB DDR3 - Dual Radeon HD7770 SLI 1GB - Win7 64bit Professional
    Development Rig2: Intel Core i7-860 - 8GB DDR3 Corsair - GeForce GTS240 1GB - Win7 64bit Home Premium
    NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...

Similar Threads

  1. GAutomate.ini code
    By sandokan in forum FS2004
    Replies: 5
    Last Post: 12-01-2009, 03:22 PM
  2. Morse Code
    By mikeblom13 in forum FSX
    Replies: 1
    Last Post: 06-22-2008, 06:43 PM
  3. XML code help
    By tintin in forum Panel & Gauge Design
    Replies: 1
    Last Post: 02-19-2007, 10:56 AM
  4. Archer Key Code
    By Meeko in forum DreamFleet General Discussion Forum
    Replies: 1
    Last Post: 09-13-2002, 03:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •