• 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.

simconnect

  1. C

    Monitor AI Objects

    Hi All, I've come across this MSDN article about monitoring AI objects (in particular AI aircraft) however as has been mentioned elsewhere on this forum, the sample code is no longer accessible. If anyone does have a copy and would be willing to share it would be VERY much appreciated! Since...
  2. K

    FSXA Added AI aircraft removed directly after adding it - why?

    When I add an AI aircraft, I do sometimes see the same aircraft removed right after. So if I add an aircraft (let`s say with id 10) it is reported as removed instantly. Reading about the reality bubble I understand there might be situations when I cannot add an AI aircraft. However, from my...
  3. K

    FSXA Set TAXI lights for AI traffic

    Has someone managed to set TAXI lights for AI traffic? I can set all the other lights, but taxi lights do not work. A similar question has been asked years back and I wonder if someone has solved the issue: I have tried both, bit mask and single values. In the documentation it says the value...
  4. B

    FSX Get camera position & angle using simconnect in C#

    I'm a seasoned C# developer, and the last couple weeks I've been playing around with simconnect, hoping to build a custom tool for a flight simulator I'm in the process of building. What I really need is the ability to GET the current camera position and angle (x,y,z,p,b,h). I have successfully...
  5. K

    Log file for remote simConnect.cfg

    I use simconnect on a remote computer and try to enable logging there. But I do not see any log file generated. I can enable logging on the FSX machine itself (where FSX runs), but this only logs the local simconnect calls. [solved] can only enable it on the FSX machine`s simCOnnect.ini (note...
  6. H

    FSX How to set COM Active Frequency with SimConnect

    Hi, I am developing a tool with SimConnect and C#. I want to set the frequency in my tool and it will help me to set COM1 frequency in fsx, but I got a SIMCONNECT_EXCEPTION_DATA_ERROR during the action. So anyone knows how to fix this? Thanks a lot. Here is related code: //Data...
  7. lordofwings

    FSX SimConnect.GetLastSentPacketID for managed code?

    I was looking at this: https://msdn.microsoft.com/en-us/library/cc526983.aspx#SimConnect_GetLastSentPacketID But I can't find it when using managed code (C#). The problem is I am receiving an exception notification on the OnRecvException handler and there is reports a SendID. According to...
  8. lordofwings

    FSX SimConnect.GetLastSentPacketID for managed code?

    I was looking at this: https://msdn.microsoft.com/en-us/library/cc526983.aspx#SimConnect_GetLastSentPacketID But I can't find it when using managed code (C#). The problem is I am receiving an exception notification on the OnRecvException handler and there is reports a SendID. According to...
  9. lordofwings

    FSX Ambiguity in RequestDataOnSimObject

    I think there is a lot of ambiguity in the SimConnect.RequestDataOnSimObject when it comes to periods, changes, etc. This IMHO is typical of old style C/C++ programmers :) In particular when you look at the API method or function there are these parameters in the same call that seem to be...
  10. lordofwings

    FSX SimConnect for generating gauge failures (via events)

    I am familiar with the list of SimConnect event IDs for failure generation which are about 14 or so (hydraulics, electrical, brakes, pitot, vacuum and engine failures). However, how would one go about using SimConnect to generate other failures such as gauge failures (altimeter, attitude...
  11. lordofwings

    FSX Can I have multiple instances of SimConnect object in a single app?

    I am writing an application using SimConnect and yesterday while thinkering out of the computer it came to my mind that perhaps instead of declaring a single SimConnect object to share among all sorts of handlers, I could have one SimConnect object for each "handler". The question is... is that...
  12. lordofwings

    P3D SimConnect side by side with FSX SimConnect?

    I am a user and developer of FSX and therefore I have FSX's SimConnect libraries installed (also the SDK). I need to develop some software for Prepar3D and would need the P3D SimConnect SDK. My question is... can both (FSX & P3D) SimConnect libraries (DLLs) co-exist, side-by-side without...
  13. lordofwings

    Use SimConnect with Microsoft .NET C# ?

    I am looking for leads on developing a software using SimConnect but using Microsoft .NET C# rather than C++. Can anybody point me in the right direction? I am thinking on SimConnect because it works across computers (remote connection) and FSUIPC doesn't.
  14. K

    FSX AI title and aircraft.cfg (SimConnect_AICreateNonATCAircraft)

    Guess it will be the same for FSX and P3D. When I create AI traffic with SimConnect I have to pass the title from the aircraft.cfg (docs). So far I was under the impression that hence the titles are unique / have to be unique. Otherwise, how would I distinguish two AI aircraft with the title...
  15. C

    SimConnect Name - THROTTLE_SET

    Hi Guys, Apologies if this is a very simple question. I'm using SimConnect to set the throttle in VB.net. I have been able to set to full and idle sx_simconnect.TransmitClientEvent(0, EVENT_ID.THROTTLE_FULL, 0, NOTIFICATION_GROUPS.GROUP0, SIMCONNECT_EVENT_FLAG.DEFAULT)...
  16. M

    Converting HotKey Virtual Key codes to Strings and Back Again

    Hi, Thanks so much to everyone who's helped me on this forum, I hope I'm not too annoying. I'm not exactly sure where to post this, because it's not directly related to the FSX or SimConnect API, but I figure it's probably something Flight Sim developers know how to do - if there's a better...
  17. M

    Monitoring SimConnect and lost connections...

    Hi there, I have a pretty fundamental question about SimConnect that hopefully a lot of people could answer, I'd really appreciate help... I'm writing a C++ .exe SimConnect client. On establishing a connection, among other things, it requests that certain variables be sent to me every frame...
  18. P

    P3D v3 Newbee question

    I am developping a Delphi 10 application and would like to know how from it, loading a flight plan into P3D. I never used simconnect before please be as clearer as you can. Thanks so much for help. Best regards Pierre
  19. dggoofy

    FSX My Simconnect wont install - DELETED

    Hi guys, DELETED... Daniel
  20. M

    Set Marker Beacon State?

    Hi there, The Simconnect documentation seems to indicate that the marker beacon state should be settable, but I don't seem to be able to get it to work. Am I doing something wrong? or is the documentation in error? My code is: INT32 data = 1; SimConnect_Open(&hSimConnect, "RadioRange"...
Back
Top