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
Help AVSIM continue to serve you!
Please donate today!

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.

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.

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.

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