• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS24 Building a Basic Instructor Station

Messages
22
Country
spain
Hi everyone, I'm working on building simconnect based 2D instrument panel windows and also a basic instructor station for Microsoft Flight Simulator 2020 or 2024, I want to connect it using SimConnect. What's the simplest way to set up a SimConnect connection? Any tips or basic requirements to get started?
I started doing some tests using python as some threads in forums sugested as the most efective way, I have pip installed the pysimconnect library but I am stuk at the very begining since I haven't been able to stablish a conection to the sim as I dont have a working script, I am not a programer and I am new to simconnect enviroment, so I was trying to relay on AI but every script it gives me doesn't work keeping in an endless loop of trial and error, from my POV at this point AI it's a great tool to translate the meaning of the lines of code but when it comes to write a functional code it self it doesn't really know what it's doing, maybe in a not so distance future will gaing that capability but as of know it cant. I have a lot experience and knowlege with simvars as I made many 2D gauges for FSX and P3D in the past, also I am very experienced with scenery and missions development but everything I've done has never been intended to work outside the sim, allways inside, but with these new sims (2020 and 2024) as they dont have 2D panel interfaces I will like to be able to use my more than 100 gauges I've created over the years with the new simulators. so if someone could be kind enough to point me in a right direction I would appreciated very much :)
 
The SimConnect SDK has this to say:
  • Out-of-process add-on components for Microsoft Flight Simulator can be written in C, C++, or - if the managed API calls are being used - any .NET language such as C#.net or VB.net.
  • In-process modules are written in C++ and compiled into WebAssembly modules
-so if you're trying to use Python then you need to create a whole new layer to communicate with the sim which will require an in-depth knowledge of both SimConnect and Python. Stick with C/C++ or dotNet. If you've created FSX/P3D gauges in the past, that suggests you have some grounding in C/C++. In this case, read these:


Although sd2gau42.5 is based on P3D, the principle to connect SimConnect to MSFS2024 is the same. Cross-reference the SimConnect section to the MSFS2024 SimConnect SDK samples. However, you will never be able to connect your existing gauges to MSFS because it's an entirely different system.
 
Back
Top