Jump to content
The simFlight Network Forums
Sign in to follow this  
RJP

FSX Via FSUIPC To Excel

Recommended Posts

Hi,

Following on from me asking about getting (regularly updated) data from FSX to Excel I thought I'd attach an example of what I've done, just in-case it's of any use to anyone here.

The demo includes only data for the Bahamas, please ensure you're in that area.

Open the file, ensuring that macros are enabled (see note below first). You'll be presented with a scatter graph, showing the lat / lon of airfields in the Bahamas, in effect a simplified map.  The orange markers are those I've set to 'Visited' and blue are 'Non-Visited'. The red circle is the last logged aircraft position.

Hover over a marker to see ICAO code, the country, the name of the airport and if it's logged as visited or not.  Left click on a marker to change from visited to not-visited and vice-versa.

With FSX and FSUIPC running and with the aircraft positioned within the Bahamas click the 'Start' button. The red circle will move to the correct lat / lon and thereafter will update once per second.  Obviously the red circle will only move when FSX is not paused.

The file contains the code from the visual basic FSUIPC SDK libraries. It was created in Excel 2016 but I believe will work in any version which the SDK VB code is compatible with.

Please note: The attached file contains macros, they run successfully and without harm on my own PC. However, by running them you accept all resultant risks should there be an issue with them.

Best regards

Richard

Map Demo.xlsm

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  

×