Jump to content
Sign in to follow this  
WarpD

How to read an ILS position into XML vars

Recommended Posts

Hi,Is there a way to read the lat/long coordinates and altitude of an ILS, of which the freq. is dialled into the HSI (NAV1) into XML var's ??And if so, does the ILS need to be active (CDI/GSI needles valid) ?Any example code would be most appreciated.Regards, Rob Barendregt

Share this post


Link to post
Share on other sites

Rob,There are some unexplored values in the gps.dll like:StationLatLonFacilityLongitude FacilityLatitude NearestVorCurrentLongitude NearestVorCurrentLatitude WaypointVorElevation WaypointVorLongitude WaypointVorLatitude etc.May be you find the solution there,Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Hi Jan,I tried those .. No result.Maybe the WaypointVor.... (didn't try those) but that would mean I have to enter the ILS in a flightplan.And that's what I'm trying to avoid :-)Thanks anyway, Rob

Share this post


Link to post
Share on other sites

There are no 'default' FS vars of any kind that will return the information you desire.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post
Share on other sites
Guest mgipson

Perhaps you can do what I do what I do for DME hold. Start with the aircraft position, range and bearing to your station. Then you can work out the lat/long of the station.

Share this post


Link to post
Share on other sites

>Perhaps you can do what I do what I do for DME hold. Start>with the aircraft position, range and bearing to your station.>Then you can work out the lat/long of the station.The bearing value for ILS is not actually a bearing, thus this wouldn't work.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...