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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.