News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

using network with Plan G and another softwae

Started by claude101141, November 12, 2012, 08:08:16 AM

Previous topic - Next topic

claude101141

Good morning;

While setting up Plan G on my Laptop connected via network with my Desktop PC, I am preparing the Simconnect file as I wish to have Plan G on the Laptop.

FSX is located on a separate drive of the Desktop PC

I checked first if another program used Simconnect as there was no trace of the xml file in ProgramData/Microsoft/FSX directory.

I discovered then that SuperTRafficBoard used Simconnect implemented on one of its subdirectories in ProgramFiles(x86) which is also installed on the FSX drive (H:)

My question is this one:

Should I modify the Simconnect.xml file used by SuperTRafficBoard OR should I create a new Simconnect.xml FIle in  ProgramData/Microsoft/FSX.

If I do so will it interfere or conflict with the existing previous one?

I use simultaneously both SupertrafficBoard AND Plan G version 3 latest version while using FSX

Thanks in advance for giving me a precise answer to solve this question

Claude - Paris France

tim arnot

Just modify the file and add an entry for Plan-G. Make sure the port number you specify is not already in use.

Tim. @TimArnot

claude101141

So I just add the blue lines of the manual example with the correct port and correct IP  in the actual simconnect in the supertrafficboard directory. There is no path to be given or anything else to add?


claude101141

Quote from: tim arnot on November 12, 2012, 09:50:40 AM
Just modify the file and add an entry for Plan-G. Make sure the port number you specify is not already in use.

I really don' get it; I've read extensively the different explanations in the manual and I'm still at a loss.

Here is the simconnect file i found on my Pc

It is located in : H:\Program Files(x86)\FlyingWSimulation\SuperTRafficBoard V3.1\Samples\SimConnect Server

The H drive is where FSX is installed on my PC


<?xml version="1.0" encoding="Windows-1252" ?>
<SimBase.Document Type="SimConnect" version="1,0">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
<Disabled>False</Disabled>
<SimConnect.Comm>
   <Disabled>False</Disabled>
   <Protocol>IPv4</Protocol>
   <Scope>global</Scope>
   <Address>192.168.1.2</Address>
   <Port>2024</Port>
   <MaxClients>10</MaxClients>
   <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>


Now what should I add and where to have Plan G V3 installed on the Laptop access to FSX. I add that All software present on the H drive are shared with the Laptop in with the reading/writing option.Which port number should I choose?

The IP I found is ::fe80::8d8b:9f41:b310:4956%12

All this sincerely is not at all obvious and clear from what I read here, in the manual and elsewhere on the Web.

Thanks and sorry for the inconvenience

Claude

tim arnot

The Section in blue from the manual, which is essentially

<SimConnect.Comm>
   <Disabled>False</Disabled>
   <Protocol>IPv4</Protocol>
   <Scope>global</Scope>
   <Address>192.168.1.2</Address>
   <Port>2024</Port>
   <MaxClients>10</MaxClients>
   <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
</SimConnect.Comm>

from what you quoted above.

Add that after the existing one in your document, and change the IP and port settings as required

The address you state is an IPv6 address, so you would need to set the protocol to IPv6 to use it (but don't include the %12 from the end, which is just a checksum and not part of the address)

Tim. @TimArnot

claude101141

I have done exactly what you wrote; In the options of Plan G I chose simconnect Ipv6 and localhost
Moreover I gave a sharing authorization of he whole directory and its contents of Plan G to the PC in case it needed it , and unfortunately the connection does not happen.
I found a freeware on the net to check the used port by the PC .

Here is my final simconnect xml file.

<?xml version="1.0" encoding="Windows-1252" ?>
<SimBase.Document Type="SimConnect" version="1,0">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
<Disabled>False</Disabled>
<SimConnect.Comm>
   <Disabled>False</Disabled>
   <Protocol>IPv4</Protocol>
   <Scope>global</Scope>
   <Address>192.168.1.2</Address>
   <Port>2024</Port>
   <MaxClients>10</MaxClients>
   <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
</SimConnect.Comm>
<SimConnect.Comm>
   <Disabled>False</Disabled>
   <Protocol>IPv6</Protocol>
   <Scope>link-local</Scope>
   <Address>fe80::8d8b:9f41:b310:4956</Address>
   <Port>4506</Port>
   <MaxClients>10</MaxClients>
   <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>


I don't understand what is wrong....


claude101141

Actually I found out one mistake; I put the file in the wrong directory not the RoamingMS/FSX .I corrected that error limiting the Xml to the second part of the my original above and made the test again which failed again. Really something is missing and don't see what......

tim arnot


Tim. @TimArnot

claude101141

Yes in the options connexion of the file menu of the software