![]() |
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| SimConnect Use this forum for all your SimConnect related discussions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Dear All:
I have two computers both running FSX, PC1 and PC2. PC1: (Master) FSX with simconnect installed PC2: (Slave) FSX with simconnect installed I want to make a dll (gauge located in PC2) that read the variables from PC1 and show that information on PC2 (gauge). The Dll will be installed in PC2. Is there a way to set up simconnect to read data from other PC? Thanks. Alfredo Mendiola Loyola Lima, Perú |
|
#2
|
|||
|
|||
|
Should be doable, steps needed:
Add a SimConnect.cfg file in the same directory as FltSim.exe (see the SimConnect SDK docs for the format of this file) on the PC2 machine. In the new SimConnect.cfg file, set the params for index 1 or greater (you can't use zero in this case, since you are a gauge running in-proc, index 0 on the Open command means local in-proc connection) to match the settings for PC1 (ie server name or ip address, port number, etc) - get from SimConnect.XML on PC1 (see below). In your gauge (running on PC2), issue a SimConnect_Open call, using the non-zero index that matches the entry you made in the SimConnect.cfg file above. On PC1, you will need to edit your SimConnect.XML file to open at least one global IPv4 or IPv6 port, if you don't already have one defined, and use this port number in the SimConnect.cfg file settings on PC2 above. When running this setup, you will need to start PC1 before loading the aircraft on PC2 that contains this gauge (else the simconnect connection will fail). |
|
#3
|
|||
|
|||
|
Thank you for your help Tim.
Alfredo Mendiola Loyola Lima, Perú |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Simconnect with Multiplayer - Collection RADIUS & Gamespy Name | Geoff_D | SimConnect | 21 | 24 Mar 2011 05:19 |
| New to Simconnect | homer09001 | SimConnect | 2 | 17 Nov 2008 08:31 |
| FSUIPC & Simmconnect version pb | Yamasuki | SimConnect | 0 | 09 May 2008 08:28 |
| Simconnect, Vista & OPT | Amatsukaze | SimConnect | 1 | 11 Dec 2007 14:54 |
| SimConnect Simulator Variables | FlapsOut | SimConnect | 3 | 12 Jun 2007 19:24 |