MS FSX | FSX=SE | P3D Simconnect Forum
This forum is provided to enable the sharing of experience, insight and expertise on the Simconnect functionality.
669 topics in this forum
-
I am in the process of designing a Hang Glider Simulator for a Museum in Helena, Montana. We have gotten to the point where we have completed the basic simulator, and would now like to add features to make the simulator more realistic.We would like to have a variable speed fan linked into flight simulator. The fan would act as wind blowing on the occupant's face as they flew.My question is, how can I hook up a fan to Flight Sim, so that when your airspeed increases, the fan blows harder, and when your airspeed decreases and you approach a stall, the fan slows down so that you can gauge your speed through the air as you could in real life.I am good with computers, and I …
-
- 1 reply
- 1.1k views
-
-
Hi there,I am trying to use Simconnect_Text() to display an on-screen menu in Tileproxy.I noticed that the function is not yet available in the SimConnect header file that was shipped with the RTM version of FSX.Does that mean this function will require the SP1 of FSX to work? Or is it just enough to have an updated simconnect library and it still works with the RTM version of FSX...Christian
-
Hello together!I'm almost sure before SP1 my Code was working. But since SP1 anything goes wrong and i get some funny (or worst) Values. So, i post some Code here. I hope anyone of has an Idea whats going wrong:case PANEL_SERVICE_PRE_INSTALL:...hr = SimConnect_AddToDataDefinition(hSimConnect, LEFTSLATPERCENT, "LEADING EDGE FLAPS0 LEFT PERCENT", "percent", SIMCONNECT_DATATYPE_FLOAT64, 0, SIMCONNECT_UNUSED);hr = SimConnect_RequestDataOnSimObject(hSimConnect, LEFT_SLAT_PERCENT, LEFTSLATPERCENT, SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_PERIOD_SIM_FRAME);...hr = SimConnect_CallDispatch(hSimConnect, MyDispatchProc, NULL);...break;And in "MyDispatchProc":case SIMCONNECT_RECV_ID_SIM…
-
- 1 reply
- 1.9k views
-
-
I am attempting to modify the Set Data example to use SIMCONNECT_DATA_LATLONALT instead of SIMCONNECT_DATA_INITPOSITION.The program compiles and runs but the user aircraft doesn't move. case EVENT_6: {/* SIMCONNECT_DATA_INITPOSITION Init; Init.Altitude = 5000.0; Init.Latitude = 54.9315248414087; Init.Longitude = -2.95371576251096; Init.Pitch = 0.0; Init.Bank = -1.0; Init.Heading = 180.0; Init.OnGround = 0; Init.Airspeed = 60; …
-
- 1 reply
- 3.5k views
-
-
Hi All,I am using "NotASenator" tutorial part1.I did the SAME as the docs and when I running the app I am getting the following error:Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.I made a reference to the DLL and I also run the Simconnect.MSI.I attached the code here:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Microsoft.FlightSimulator.SimConnect;using System.Runtime.I…
-
Hello ! I need change simulation rate to my value. I use delphi FSCsimconnect component. I send new value to simconnect and receive EXCEPTIOM=20 error. When i receive this variable it work normally and i receive current value of this variable. My method for send :After connect to sim i define new group 2004 for work with SIMULATION RATE value.SimConnect.AddDataDefinition (2004, 'SIMULATION RATE', 'number', SIMCONNECT_DATATYPE_FLOAT64); Return = OK. then i press button1 and send this:form1.SimConnect.PrepareData (2004, 1); // prepare data for 2004 groupform1.SimConnect.SetDataDouble (0, 0,1.000);// send to this group value 1.000 - it is a 1x of simulation speed;form1.…
-
- 2 replies
- 2.7k views
-
-
HiI have a simconnect client gui program that displays a bunch of data from fsx on it. I also have a couple of buttons on there to switch between the different data that is being displayed. I have a two monitor setup. An OTW monitor and a monitor that displays gauges on 1/2 the screen and my simconnect gui on the other half. The annoying problem that I have is, whenever I'm clicking stuff on my sim gui, the sound turns off of flight sim because it loses focus. Does anyone know of a way to keep flight sim in the "main focus?", but still be able to click buttons on my gui? Is this even possible?Thanks in advance
-
- 7 replies
- 1.6k views
-
-
Hi,Just getting into simconnect, and have one question. Is it possible to change the graphics setting through simconnect? Thnx.
-
I'm updating the Delphi translation of the SimConnect headers, butI'm confused by the new version of SimConnect.dll supplied with SP1A.The examples shows that the manifest should be "version=10.0.61242.0", and in the WinSxS directory there is a matching folder x86_Microsoft.FlightSimulator.SimConnect_67c7c14424d61b5b_10.0.61242.0_x-ww_35e8ee9abut the dll in that folder has a version of 10.0.61355.0 (fsx-sp1.20070510-2038).Does this make sense?Anyway, the real problem is that although I've installed the new SDK and then the new Simconnect.msi, when I try to run my test application (using 61242 in the manifest) I get a "Version Mismatch" exception and it looks like FSX is s…
-
- 2 replies
- 2.2k views
-
-
Hello,it would be helpful to get a x64 version of the simconnect.lib in order to compile 64-bit applications like TileProxy etc.---------------------------------------Freeware A380 Load Editor coming soon !
-
- 2 replies
- 2.9k views
-
-
Hello all,According to the SimConnect SDK, there are 2 functions that use flight plan files (.pln) to assign a flight plan to an AI flight ( SimConnect_AICreateEnrouteATCAircraft & SimConnect_AISetAircraftFlightPlan)My question, is there a way to assign a flight plan to an AI flight without having to first create a flight plan file?It would be much more flexible to use an internal structure to specify a flight plan instead of relying on having flight plan files pre-constructed before using themthanks-DN
-
- 1 reply
- 1.6k views
-
-
I followed the instructions in the SDK and put a copy of SimConnect.dll into my FSX folder under AppData/Roaming/Microsoft/FSX so I could run a program on my second pc while FSX is running on my main pc. After doing this My Addons dropdown on my FSX menu bar disappears. If I remove SimConnect.dll it reappears. I have Vista Ultimate 32 bit with a EVGA 7900 video card 256meg ram on a AMD Dual core 4200. I have 4gig ram installed. I had installed the SimConnect.ini file into the Documents/FlightSimulater X folder and it showed the addons being loaded. I am totally new at the SimConnect stuff so any help would be appreciated. I am trying to run EFBFSX from my second pc using …
-
HiI would really like to be able to access the radio messages that I've received from ATC - kind of like when you click on the Messages icon on the kneeboard, and all the messages from your flight are there. But I can find no way of doing it through simconnect. I thought maybe the messages might all be available through some kind of string (or array of strings) object, but I've had no luck finding any reference to it.I have discovered that all the radio messages are stored in the .flt file when you save a flight ... in this format:RadioMsg0="Johannesburg Clearance Delivery, Boeing N737W ready to copy IFR clearance to Cape Town."RadioMsgKind0=2RadioMsg1="Boeing N737W, is c…
-
Hi, FSX multiplayer incl ATC is a great new feature. BUT: Often multiplayers are very weak, do not follow ATC commands, take off whenever they want and even disturb a session. Kicking a multiplayer from a session (you as a host in a ATC position) is not possible with the current version of FSX. Although I read elsewhere that it should be possible, it just is not - maybe a bug or just a missing function within FSX. Preventing multiplayers from placing their aircraft on host airport runways is not possible either. Chat function is difficult to use in FSX multiplayer mode because it stops your microphonne from working. And it does not force the chat text onto the screen of t…
-
Hi All,I am creating a fairly simple Addon for FSX using VS2005.Intitially, I've tested the addon running as an executable but I also want to test with addon running as a dll and have hit a brick wall with entry points and definition files.Am I right in thinking I cannot create a dll entry point for a dll project written in VB .NET?If I can, I'd appreciate any advice.Also, does anyone know of any progress towards digital signing for freeware addons? I understand there was some discussion at the end of last year aimed at reducing the costs for freeware authors but I can't find any further information.Thanks for your helpGlynn
-
I've make my Gauge.dll working with SimConnect. The first Thing i made was receiving the "SITUATION_SAVED" Event so i'm able to write my Configfile for the Panelstats if Users save a Flight. Now i want to tkae "Control over the Joystickinputs. Can read (intercept?) the Inputs with SimConnect succesfully but FSX is still responsing to the Inputs (what he should'nt do in the Moment). Have read about this "maskable" InputGroups but nothing helps. So, I post some Code here how it works at the Moment.GAUGE_CALLBACK sys_gauge_cb;HANDLE hSimConnect = NULL;static enum GROUP_ID { GROUP0,};static enum EVENT_ID { EVENT_FLIGHT_SAVE, EVENT_XAXIS,};static enum INPUT_ID { INPU…
-
Hello folks,I'm looking for an idea (for my home-brew cockpit) to display the "GlassCockpit" (G1000) on a separte monitor or -even better - on an old notebook. Is there any way / expirience to do that via SimConnect ?Regards from BerlinStrange99
-
- 3 replies
- 2.5k views
-
-
Hi, I'm a beginner programmer. I that true that simconnect doesn't support Visual Studio .NET 2003?Thanks
-
- 4 replies
- 1.7k views
-
-
The API provides two different types of intertial accelerations in the X, Y, and Z axes. One is called "Acceleration Body", and the other is called "Acceleration World".Can anyone explain the differences between the two types?Thanks,Pat Dotson
-
I work for an aviation charity, and for several years we have been using FS9 in our fund raising and exhibition work: we have a number of flights using models of our aircraft and operating in the locations (mainly Afirca) where our planes work. We initially looked at the FS9 kiosk mode, but found it limiting, so developed our own front end to the flights, with the flights managed using ABL code. I'm now looking at FSX and in particular how to use SimConnect to achieve better integration of FSX with our display console.This is how it works: The system is designed to operate without an attendant, so it needs to be fairly robust and reliable. The PC, keyboard and mouse a…
-
- 1 reply
- 2.3k views
-
-
It looks like I can't disable the FS physics engine, so my question is -Is it possible to create a flight model such that FS will not interfere with it, allowing the plane to continue with the speed and direction I assign from the SDK? Maybe something like claiming an enormous wing and rudder area with tiny or non-existant control surfaces and no drag?Background:I want to use FSX as a visualisation tool for another program. I have flight information from the ultimate physics engine - a real aircraft. OK, more of a scale model, but still 'real'. The aircraft position and attitude information is available along with control surface positions.Unfortunately, the updates d…
-
- 1 reply
- 1.6k views
-
-
HI I was hoping someone could point me in the right direction. I really want an autotaxi feature. Is this something possible with simconnect? I thought maybe I could guide my plane using the same data that guides the AI traffic or at least interpret the data that is passed to the AI? Interested to know a bit more about the taxi ways, runways, airports etc.Any help would be awesome. :)
-
Hi all:For those of you who program in Delphi. Simconnect Delphi is available athttp://home.exetel.com.au/flightsim/SimConnectDelphi.htmIt contains delphi header files and example programs to get you started communicating with FSX via SimConnect. There are command line example programs as in the original SDK, as well as window based examples.The files are freeware. All that we ask is that you drop a line to the developers to let us know you are using it. There is no obligation on this, but we would like to know
-
Hi, Does anyone know how to use SetDataOnSimObject function in VS2005 to change my plane's airspeed and altitude. I am just modifying Managed VB.NET Code Sample to read data from FSX but I wish to set data to fsx.Such as I want to create a button that can set my airspeed to 250 immediately. I tried to put below into Private Sub initDataRequest() of the sample: Dim pos As Microsoft.FlightSimulator.SimConnect.SIMCONNECT_DATA_INITPOSITION pos.Altitude = 3500 pos.Airspeed = 30 fsx_simconnect.SetDataOnSimObject(StructDefinitions.Struct1, SimConnect.SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_DATA_SET_FLAG.DEFAULT, pos)It didn't work. Thankyou.
-
- 0 replies
- 2.4k views
-
-
I was messing around with the Traffic Explorer tool and I noticed that a bunch of Lear 45s were flying around with "Navy" for their airline. This wouldn't have struck me as odd, except that I'd edited (and since removed) the Lear 45's aircraft.cfg to have an entry that had a Navy Lear 45. Now, I have no clue if these planes were there before or if I somehow inadvertently spawned a mess of Navy Lears running around. I currently have my plane sitting at Pensacola on August 6 2007 at 1130 and there's three of them flying around right now. Could some kind soul with some free time see if they have these flights too? There's also a pair of regular Lear 45 flights, so if I …