January 17, 20197 yr In the CONTINUING SAGA of trying to get SimConnect working I am going back to basics. Using ONE pc only. My Simconnect.XML is located here: C:\Users\Terry\AppData\Roaming\Lockheed Martin\Prepar3D v4 it has this structure: <?xml version="1.0" encoding="Windows=1252"?> <SimBase.Document Type="SimConnect" version="1.0"> <Descr>SimConnect Server Configuration</Descr> <Filename>SimConnect.xml</Filename> <Disabled>False</Disabled> <SimConnect.comm> <Disabled>False</Disabled> <Protocol>IPv4</Protocol> <Scope>global</Scope> <MaxClients>64</MaxClients> <Address>192.168.50.200</Address> <Port>4506</Port> <MaxRecvsize>4096</MaxRecvsize> <DisableNagle>False</DisableNagle> </SimConnect.Comm> </SimConnect.Comm> <Disabled>False</Disabled> <Protocol>Auto</Protocol> < Scope>local</Scope> </SimConnect.Comm> <SimBase.Document> My Simconnect.ini file is located here: C:\Users\Terry\Documents\Prepar3D v4 Files It has this structure; [SimConnect] level=verbose console=1 RedirectStdOutToConsole=1 OutputDebugString=1 file=c:\Users\Terry\Documents\Prepar3Dv4 Files\simconnect%03u.log file_next_index=0 file_max_indexz=9 When I run the Prepar3d Sim I am expecting a debug window to appear on my main console. I am getting nothing. Am I not supposed to get a debug window showing SIMCONNECT communication traffic? Will some simconnect expert please try to help me. I cant get anymore basic than this. This is my last attempt to get simconnect working. Please please help.
January 17, 20197 yr Suggest you start by reading through this for an understanding of the debug configuration: https://www.prepar3d.com/SDKv4/sdk/simconnect_api/configuration_files/configuration_files_overview.html OutputDebugString only works if you are running from an integrated debug environment (IDE), which I would suspect you are not. With the log file definition active, the console output may be getting diverted to the log file, so that might explain no output window. The debug window exposes the server-to-client comms, it doesn't create them...of course if there are no clients, there are no comms, and nothing to display. A common technique is to use the AITraffic.exe program from the FSX SDK as a simple client to test the connection. Unfortunately that program is now included in the P3D SDK as source (C++) code only, so if you don't have the FSX SDK installed somewhere or the ability to compile the P3D SDK example code you won't have that tool available. Maybe someone else can suggest an alternative. I notice you have changed the default port from 500 to 4506--any reason for that? Also, this section of your xml is all buggered up, and may in fact be making the entire xml unreadable by P3D. It starts with an illegally-placed end tag "/SimConnect.Comm" </SimConnect.Comm> <Disabled>False</Disabled> <Protocol>Auto</Protocol> < Scope>local</Scope> </SimConnect.Comm> It should read like this: <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>Auto</Protocol> <Scope>local</Scope> </SimConnect.Comm> Regards Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
Archived
This topic is now archived and is closed to further replies.