Search the Community
Showing results for tags 'simconnect'.
-
Does someone have an example of a working program? I'd an ordinary GUI with just need one call to WASM, and one to SimConnect (ie: toggle Parking Brake), ideally in C++ but beggars can't be chosers. I can get the 59 Events/SimVars in the SDK examples working fine in my simple GUI using C++. I can get Offsets for my 3 variables working fine in Paul Henty's FSUIPCclientDLLforNET or MSFSVariableServices using VB.NET. I can kinda get at those 3 variables in the WASMClient-Master using C++, yeah, using the GUI and that's it. My problem is that extracting code from the WASMClient to work in my rinky-dink GUI is way over my head. And converting Paul's VB.NET into C++ is also over my capacities. Hence why I'm asking if anyone has an example doing both functions; using SimConnect and WASM. Or is that physically impossible? I can't even use a keystroke for the ADF Mode Selector for the Cessna 152 (I saw nothing on the keyboard options). And anyways I'll have the same problems if not worse for the larger planes. These are the options I've found to date (that C++ stand-alone works just fine and I understand what's going on, mostly): Robert
- 1 reply
-
- same
- simconnect
-
(and 2 more)
Tagged with:
-
I've been trying to use both the SimConnect.dll and the WAPID.dll in the same project in Visual Studio C# but I always get an error message and the code won't compile. (System.BadImageFormatException HRESULT: 0x8007000B). Though I've been successful in running both dll's individually, but not both in the same project. I've tried to change the target platform from x64 to x86 to AnyCPU but either the SimConnect or the WAPID gives back an error. I'm no professional programmer, nor do I know alot about programming, so I'd be thankful if someone could help me figure out how to fix this issue!!
- 3 replies
-
- simconnect
- wasm
-
(and 1 more)
Tagged with:
-
whatever this is that i found in event viewer : Faulting application name: fsx.exe, version: 10.0.62607.0, time stamp: 0x548b7186 Faulting module name: ai_player.dll, version: 10.0.62607.0, time stamp: 0x548b71c1 Exception code: 0xc0000005 Fault offset: 0x00035649 Faulting process id: 0x0x2FC0 Faulting application start time: 0x0x1D86195743EFBAC Faulting application path: J:\men-go-soft flight game ten\fsx.exe Faulting module path: J:\men-go-soft flight game ten\ai_player.dll Report Id: 27b66495-d7cc-452f-b0fd-5e1f67ce6b1c Faulting package full name: Faulting package-relative application ID: Sooo, FSX-SE doesnt even open, when i run it and click yes it just tries to load for 5 seconds and just crashes with no warning, if i dont run it it just loads up. In the log (attached) it tries to load simconnect but fails due to: version mismatch, too many groups, unrecognized id and unopened, i ran the setup in the core utilities and nothing, i have no idea what this is, im not registered FSUIPC4.log
- 1 reply
-
- troubleshooting
- fsuipc4
-
(and 1 more)
Tagged with:
-
*** Moved from User Contributions to FSUIPC7 support forum *** Hello Pete and John, I want to read the value of the ADIRS panel display in the overhead of a A3XX. Is there a Simconnect / FSUIPC Offset available? I try to display this value on my LED Display Hardware. thanks Alhard
- 7 replies
-
- simconnect
- adirs
-
(and 1 more)
Tagged with:
-
Hi all, I have a few technical questions before buying FSUIPC7 because I'm not sure about what I can acheive from FSUIPC7/LUA scripts regarding the SimConnect Indexed variables. As example, I take the Asobo Airbus A320 . Someone has already reported that Offset 07D4 [AP ALTITUDE VALUE] is not working. He gave up thinking it was a bug. I found that Offset 281C or 3102 [Master Battery Switch] are not working neither. After having looked into Microsoft SDK and SimConnect, I found that the A320 FCU AP Altitude is linked to an indexed SimVar [AUTOPILOT ALTITUDE LOCK VAR:3] It seems that FSUIPC7 is not natively looking at this SimVar. Both A320 Battery Push Buttons are a bit more tricky: For the left battery Push button: First, set SimVar BUS LOOKUP INDEX to value 10 Then the state of the left battery can be read at indexed SimVar BUS CONNECTION ON:6 For the right battery Push button: First, set SimVar BUS LOOKUP INDEX to value 11 Then the state of the right battery can be read at indexed SimVar BUS CONNECTION ON:6 So here are my questions : Q1. Is it possible from FSUIPC7 (I guess with Lua Scripts) to access the Indexed SimVars and map them to a free FSUIPC7 offset ? I know it *was* possible to access Local SimVars with Lua scripts, but I want to be sure that we can query the indexed variables, for instance like this : ipc.writeXXX("A:BUS LOOKUP INDEX", 10) LeftBattery = ipc.readXXX("A:BUS CONNECTION ON:6") ipc.writeXXX("A:BUS LOOKUP INDEX", 11) RightBattery = ipc.readXXX("A:BUS CONNECTION ON:6") Q2. Is it possible from FSUIPC7 to log all SimVars and Indexed SimVars ? (in order to identify which one is changing after a few clicks in the virtual cockpit) Oh god, the BUS LOOKUP UP thing is not going to help with this kind of feature... --- Regarding the Local SimVar, I understand that FSUIPC7 has no way to access them. And in fact, Microsoft SimConnect SDK does not provide a way to do this. The only workaround for now is to create a fake gauge and put the local SimVar in the Client Data Area. Then FSUIPC7 would be able to read/write the Local SimVar through the SimConnect SDK.
-
This FAQ post explains how to get SimConnect logging, it gives the folder name where to place the required SimConnect.ini file. As for MSFS, it is "USER\AppData\Roaming\Microsoft Flight Simulator" (USER replaced by the actual Windows login account name). However, such a folder did not exist in my system. I created it and placed the required SimConnect.ini file in it. I did not get any logging. My MSFS version is 1.12.13.0. Could the folder name have changed since the post update? Or could it be a matter of misspelling?
-
After successfully installing and using FSUIPC7 with MFS2020 (despite the frame drop), I find smartcars does not connect to v4 any longer. As v7 is not compatible with FSX, I cannot use smartcars to create pireps for my VA whilst using FSX as my simulator, which is the only stable platform to use for longer flights, or large aircraft. All was working well until using v7, which I am not complaining about, as I am satisfied. I would just like to troubleshoot why v4 has stopped working, and if I can fix the issue so I may pursue stable VA flights. The file structure has not changed, all necessary files are located in my Modules directory.
-
Hi! I noticed that the FSUIPC 6 interface sends the wrong ID when connecting P5, the interface is sends as P4: If we select the interface SimConnect then everything is ok🙂: Please check this🤓
-
Hello Paul starting with your 3.0 RC7, could it be possible with a new release (awaiting the ability through FSUIPC 5 future update), to connect locally in a simconnect manner to FSW ? Tested with a quick local dev app and could not be achieved at the moment, the running FSW is not seen by the client (my app has the ability to check automatically trough FSUIPCClient.Dll if there's a remote or local running Sim) Gilles
- 4 replies
-
- fsw
- fsuipcclient rc7
-
(and 2 more)
Tagged with:
-
Hi, I need to remotely connect to P3D via SimConnect. I have 2 PCs. Server: PC1 with P3D v4 installed, IPv4:192.168.10.139 Client: PC2 has a C# WPF app that does some reading & writing to P3D on PC1 via SimConnect. IPv4:192.168.10.167 I have put SimConnect.cfg file on PC2, Documents folder, put SimConnect.xml, EXE.xml and DLL.xml files on PC1, C:\Program Files\Lockheed Martin\Prepar3D v4 folder, put SimConnect.ini file on PC1, C:\Users\Administrator\Documents\Prepar3D v4 Files folder. I save all these 5 files as Unicode type for encoding. In SimConnect.cfg: In SimConnect.xml: In SimConnect.ini: As for EXE.xml and DLL.xml files, I didn't do any changes as I found no instructions about them. In the WPF app code on PC2: private const int WM_USER_SIMCONNECT = 0x0402; //user-defined this.SimConnect = new SimConnect("Managed Data Request", Handle, WM_USER_SIMCONNECT, null, 0); // it can be executed with no error or exception as long as the SimConnect.cfg file is OK. private IntPtr HandleSimConnectEvents(IntPtr hWnd, int message, IntPtr wParam, IntPtr lParam, ref bool isHandled) { isHandled = false; switch (message) { case WM_USER_SIMCONNECT:// This is never met! But if P3D and the WPF app run on the same PC then it works. { if (SimConnect != null) { try { this.SimConnect.ReceiveMessage(); } catch { RecoverFromError(); } isHandled = true; } } break; default: break; } return IntPtr.Zero; } The remote connection between P3D and the WPF app is not successful. I appreciate any help.
- 2 replies
-
- wpf
- configuration
-
(and 3 more)
Tagged with:
-
Hi, I'm trying to use RCv4 in a Simconnect window in P3Dv4.1. I had this set up and working well in P3Dv3.4. In v4.1, RC options show in a Simconnect window when I start that programme and I'm able to interact with these options. Everything seems to work. Apart from that I can't open and close the Simconnect ATC window. Following the instructions in the FSUIPC user guide and guide for advanced users, I've added AdvDisplayHotKey=65,11 to FSUIPC.ini. I've also set CTRL+SHIFT+A in "Toggle FS Display Window On/Off in FSUIPCs Hot Keys tab, and set CTRL+SHIFT+A as the keypress to toggle the ATC window in RCv4 itself. But nothing happens when I press CTRL+SHIFT+A. I can close the Simconnect ATC window using the red cross in the top corner, but then the window never comes back. Any help appreciated! Thanks, Dominic
-
Hello, I have the following request: I am using a PHP script that allows me to save my aircraft and store it in a MySQL database using IVAO API (whazzup -> http://api.ivao.aero/getdata/whazzup/whazzup.txt). Works without problems. Now I fly sometimes without IVAO and still want to read my flight data into a MySQL database (altitude, speed, departure airport, destination airport, latitude, longitude, airplane type, on ground ?, and other offsets -> http://www.projectmagenta.com / All-fsuipc-offsets). Can someone write a program with C ++ or JavaScript, which can read me via PHP, FSUIPC or SimConnect this data? I have already used a lot of Google, but no program found that accesses the interface via PHP. Please do not use an ACARS program, but a simple EXE or PHP file that connects and writes the live data into a MySQL database at intervals (Standalone Programm). Thanks System: Windows 10 Flight Simulator: Prepar3D v4 I have long times experience with PHP scripts, but not experience with JavaScript, LUA or C++, i hope anywhere can write my a simple prgramm for windows
- 1 reply
-
- simconnect
- datenbak
- (and 4 more)
-
I am having an issue installing FSUIPC into my steam version of Flight sim. I recently reinstalled windows 7, and have a fully updated os. I have already tried reinstalling flight sim, bot to no avail. Windows 7 FSX-SE Installation log: Installer for FSUIPC4.DLL version 4.938b Looking in registry for FSX install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0 Parameter"AppPath" ... NOT found! ... Looking in registry for FSX-SE install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"AppPath" ... NOT found! ... Looking in registry for Prepar3D install path: HKEY_LOCAL_MACHINE\SOFTWARE\LockheedMartin\Prepar3D Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\LockheedMartin\Prepar3D Parameter"AppPath" ... NOT found! ... Looking in registry for Prepar3D v2 install path: HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"AppPath" ... NOT found! ... ... NOT found! Asking user to find the .EXE instead ... User identified path: "C:\Program Files (x86)\Steam\steamapps\common\FSX\fsx.exe" =========================================================== INSTALLATION FOR FSX: Checking version of the FSX EXE: ... Version 10.0.62607.0 (Need at least 10.0.60905.0) Checking compatibility with installed SimConnect: ... Failed to find a valid SimConnect needed to use FSUIPC4! A popup that says Your FSX installation is incorrect! The version of simconnect installed will not run FSUIPC4. You may need to repair the installation to rectify this first. No changes have been made by this program
- 4 replies
-
- simconnect
- FSUIPC
-
(and 3 more)
Tagged with:
-
Hi Pete, As I am currently very interested in the deeper functionality of FSUIPC and Simconnect, I may ask you, if you know about some documentation like a "white paper" about these topics. My interest, as an IT man, goes to some questions like: How gets FSUIPC access to the FSX data? How gets Simconnect access to FSX data? What protocols are used (TCP IP, named Pipes, Queues, etc) ? What roles are LVARS playing? What roles are the OFFSETS playing? How is the "cooperation" between both access modes ? Thanks, regards Alhard
- 3 replies
-
- white paper
- fsuipc
-
(and 4 more)
Tagged with:
-
Hi there, well after fresh install of p3d.3.4 and all addons, there is time for testing. 3 tests without problem (average 7h duration, on PMDG738), then tongiht, 4th trial and baam - CTD. Checked the error log and that's what was there: Faulting application name: Prepar3D.exe, version: 3.4.9.18400, time stamp: 0x57d9b14e Faulting module name: SimConnectP3D3.dll_unloaded, version: 0.0.0.0, time stamp: 0x571e4e28 Exception code: 0xc0000005 Fault offset: 0x13d41eb0 Faulting process id: 0x21e4 Faulting application start time: 0x01d22fd9dc19f48f Faulting application path: E:\Program Files\Lockheed Martin\Prepar3D.exe Faulting module path: SimConnectP3D3.dll Report Id: 117c0380-9c01-11e6-9f34-74d435e2a771 Now, what could cause that? I've the latest FSUIPC and fresh installs of next addons/programs: AS16+softclouds, ORBX base+vector, ezdok, accufeel, rwy bumping effect, fscaptain, ivap and acars. The error occured after 7 hours of flight with PMDG738 on holding above LEPA (added aerosoft's airport). So, what to do? Thanks for help..
-
I purchased ASNext recently and it brings a whole new stage of realism to simulator flight. Everything works well with the exception I am not able to connect FSX to ASNext's radar weather module, Xgauge. The folks over at HI-FI are working with me on the issue and the are now looking at possible conflicts between Xgauge and my registered version of FSUIPC4. I have now upgraded FSUIPC to the most recent version and the install log file does state: " Installed "ASN WX Radar facilities in FSUIPC4.pdf" okay". I reset the FSUIPC configuration to default to start it fresh. I am able to see the Xgauge panel and all the buttons, however the display remains black with the exception of a message stating "ASN Uplink Not Established". I am attaching a screenshot of the display and my FSG.CFG file along with logs from ASNext and FSUIPC4. If anyone else has has this problam and can provide answers, I would certainly appreciate it. (Well, apparently the log files are not allowed to be uploaded on the forum so I have include the xml.dll and ASNext export log. ASN_Log_Export 06172014.txt dll 06172014.xml
- 3 replies
-
- FSUIPC4Xgauge
- ASNext
-
(and 4 more)
Tagged with:
-
Hi Pete, I intend to purchase AI traffic software and run it on my client computer and connect it with my FSX computer (Server). Are you aware of any software that will be network compatible and run either via widefs or simconnect? None of the programs I have seen so far (i.e. MyTraffic or Ultimate Traffic) seem to be network compatible - at least the description doesn't mention so. Kind regards Robert van Veen Germany
-
Hi Srs, I'm building my own throttle quadrant to be used with the Ifly 737NG, and managed with C#. I'm programming levers and buttons with the SDK of FSX (simconnect), and most of them are responding properly, the big deal begins when I assign a command for each idle/cutoff lever (engine start lever1&2), because on the sim there are no way to make them move. (I am not using FSUIPC, as I want a throttle that can be connected to any sim, also without FSUIPC). I've found similar posts using FSUIPC, but this is not my case as I'm not writing directly to an offset (3590= Engine_1_ Fuel_Valve & 3594=Engine_2_Fuel_Valve). From the Simconnect Event_IDs, I've used this events unsuccessfully: TOGGLE_FUEL_VALVE_ENG1 MIXTURE1_RICH MIXTURE1_LEAN MIXTURE1_SET (0=cutoff & 16383=idle) So, does anyone know an event combination or a different command I can use to make them work? I appreciate your help as this is driving me crazy. Carlos Hernandez https://www.youtube.com/user/caherna
- 2 replies
-
- simconnect
- idle/cutoff lever
-
(and 3 more)
Tagged with:
-
SIMCON is your Cockpit. Forum languages: english, german, italian Simcon new Edition version 1.5.5 ( March 2015) Simcon is using Simconnect + FSUIPC. FSX Accel. Deluxe or Gold Edition + FSUIPC (not registered). NETWORK - use Simconnect (*.msi) + FSuipc-WideFS. ATIasHld using FSUIPC only. Both systems are not using any Frequency only real world Mathe Formulas by Ed Williams The new Automatic Approach System Edition 2015 is including the ATIasHld Program. 3 advanced Radar-Systems with several features. Graphic Approach View Simcon has been tested with Win XP, 7, 8++ on 32 + 64Bit Machines / Network. Joystick and Mouseclick Interface. Fuel Panel, separate Approach Panel. New Help System. The new Simcon Pilot Interface. Help System, FSX commands, Mouse-Clicks. Simcon is including the ATIasHold Approach + Radar System using only FSUipc. With all CockpitStatus programs you create a Virtual Runway at any World Position at Ground level. With one Click create a Virtual Rwy On Air, Ground, Sea, Carrier and return to. Simcon is creating a virtual Wpt at 20nm aligned with any Rwy. " You never get lost ". Introduction
-
- Simconnect
- Cockpit
-
(and 3 more)
Tagged with:
-
Forum languages: english, german, italian CockpitStatus is using 3 Radars: extern, local, large CockpitStatus is using automatic approach to: Rwy, Wpt at 20nm aligned with Rwy, Vor, Adf. This Radar is a precision instrument. Automatic + Manual Radar Zooming. Fuel-View. Automatic frequency Input, Nav, Adf. Mouse-Click Interface. Save + execute a complete Mouse-Move-Click session. CockpitStatus is using the AT-IAS-HOLD System that is working with any airplane using only the engine pressure. No AP requested. With all CockpitStatus programs you create a Virtual Runway at any World Position at Ground level. With one Click create a Virtual Rwy On Air, Ground, Sea, Carrier and return to. CockpitStatus ( and Simcon) is including the 'Mouse-Click Interface'. Save + execute a complete Mouse-Move-Click session. Forum languages: english, german, italian Intrasystem http://www.intrasystem.it/FSX/FSX.html CockpitStatus Manual: CockpitStatus (FSUipc) is including the ATIasHold-System (FSUipc) http://www.intrasystem.it/FSX/CockpitStatus.pdf ATIasHold. Manual: (FSUipc) http://www.intrasystem.it/FSX/ATIasHld.pdf Simcon Manual: Simcon (FSX Simconnect) is including the ATIasHold-System (FSUipc) http://www.intrasystem.it/readfiles/Simcon.pdf The Freeware AiracSearch - Limited Simcon FSX Simconnect Approach System http://www.intrasystem.it/FSX/FSX.html#airacsearch Forum languages: english, german, italian
-
Dear Pete, this might not be the best forum for SimConnect questions, but this one might be an easy thing for you to get me some ideas on: SimConnect offers: CLOCK_SECONDS_ZERO CLOCK_HOURS_SET CLOCK_MINUTES_SET ZULU_HOURS_SET ZULU_MINUTES_SET ZULU_DAY_SET ZULU_YEAR_SET So, no way to set a local year and day here. To set a local date and time by setting the time part with the CLOCK_xx events and the date part with the ZULU_xx events might end up in a wrong resulting local date/time with an offset of +/- one hour in case the new date has a different daylight saving time and therefore a different timezone bias. Currently, I help myself in that I try to set the new time using the CLOCK_ and ZULU_ mix approach and afterwards I recheck the resulting local time against the wanted new local time. If they differ, I use the now updated "TIME ZONE OFFSET" variable I receive from SimConnect to update the zulu time, causing the sim to reload the scenery a second time, which is of course not nice. How are you dealing with this problem in your FSUIPC API? The whole problem seems to be around knowing the correct time zone bias for the current lat/lon and the desired date/time. I do not see how to get hold of this information other than asking some google web services and the like. Any ideas would be very much appreciated. Kind regards Walter
- 4 replies
-
- simconnect
- time
-
(and 2 more)
Tagged with:
-
Hi Pete, Until a few days ago I was running P3D V2.3 with unregistered FSUIPC and the A2A C172 and all was good. I then registered FSUIPC, at which point it seems to have started to cause problems with the A2A C172, which no longer responds to control inputs, with the green bar message saying FSX Simconnect has encountered an error and will be restarted. I'm not sure where to start looking, as this error seems to be related to the FSUIPC activation (the error only started at registration) and all other aircraft (Q400, Realair Legacy, Carenado Bonanza, QW 146) seem to be completely unaffected. Any ideas? Thanks, Jamie p.s. I've also posted on the A2A forum to see if they have any ideas.
-
Hello, I know you are on holidays so, don't worry if you can't answer soon. I have installed P3Dv2.1 on a fresh install, on Windows 7 64 fresh install too. When installing FSUIPC4 4929 I get the following error message: I will thanks any help.
-
Hi Peter, I am trying to set up for testing purposes a saitek throttle quadrant to use special offsets to control Engine 1 and 2 within FSUIPC with two axis until I build my proper TQ for this Aircraft The offsets which are dedicated for this avionics software are LEFT_THROTTLE=0x18173 RIGHT_THROTTLE=0x18174 I was told that the values for it are from 0 to 1023 (1023 being MAX power) First off, I have disabled all axis assignment in FSX regarding the throttles. Second I went into FSUIPC and went into the "Axis Assignment" tab and scanned and found the left throttle axis. I then selected the "Send to FS as normal axis" I then selected the <Custom Control> and put in the offset for Engine 1 throttle which is 0x18173 and clicked ok. FSUIPC then showed it as 98675 I then carried out the same for the Second axis with the second offset and FSUIPC then showed .98676. I am getting a response but it's always either 0 or max power with the levers when I add this to the FSUIPC.ini file. [Axes] 0=0Z,1,F,98675,0,0,0,+1023 1=0U,256,F,98676,0,0,0,+1023 2=1U,256,D,3,0,0,0,*0.5,+8192 3=1V,256,D,3,0,0,0,*-0.5,-8191 As you can see I have another two axis from a Pokeys card for rudder pedals in which I completed with two pots from another post I seen you posted to help another member here on the forum. (2=1U and 3=1V) with some added math which works perfectly by the way, thanks for that information. I was wondering what would be the proper math for my throttles axis so that I can use them correctly as of now, they only either go full power or idle power. Thanking you in advance Michael