Module: gps2.dll

This is an FSX module, based on the cabin_comfort example.
It duplicates all the GPS functions, but with a different interface name, thereby allowing a single xml gauge to have two (or more) simultaneous interfaces into the GPS system.

By loading this module in FSX, you can use code like this:
'A      EGCC' (>C:fs9GPS:WaypointAirportICAO)
'A      EGLL' (>C:GPS2:WaypointAirportICAO)

to work with code like this:
<Element>
	<Select>
	</Select>
	<Position X="3" Y="24"/>
	<Text X="55" Y="7" Bright="No" Length="55" Font="Arial" Color="White" Adjust="Left" VerticalAdjust="Left" Multiline="No">
	<String>%((C:GPS2:WaypointAirportCity))%!s!</String>
	</Text>
</Element>
<Element>
	<Position X="60" Y="24"/>
	<Text X="55" Y="7" Bright="No" Length="55" Font="Arial" Color="White" Adjust="Left" VerticalAdjust="Left" Multiline="No">
	<String>%((C:FS9GPS:WaypointAirportCity))%!s!</String>
	</Text>
</Element>

Note!  The interface name the module will use is based on the name of the module itself.  The module will takes its own file name, remove the .dll extension and use the result as the interface name.  I set it up this way to allow any number of copies of the module to be loaded, each providing a new interace.  The result is, if you change the name of the module, you will need to adjust your XML code accordingly.



dll.xml syntax:
  <Launch.Addon>
    <Disabled>FALSE</Disabled>
    <ManualLoad>FALSE</ManualLoad>
    <Name>GPS2</Name>
    <Path>./modules/gps2.dll</Path>
  </Launch.Addon>


Doug Dawson
contact@douglassdawson.ca
Ottawa, Canada
October 19, 2013