Jump to content


- - - - -

SimConnect... -_-


  • Please log in to reply
16 replies to this topic

#1 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 11 April 2011 - 03:21 PM

I there... I'm tryin' to connect ASE from my 2nd PC to my 1st PC (Running FSX).

The thing is... ASE sees the setting I have assigned to him for SimConnect.
As seen in the log "4:15 PM - SimConnect SP2 instantiated!"

The problem is that I have SimConnect.xml in the "C:\Users\         \AppData\Roaming\Microsoft\FSX" and FSX dosen't seems to read it.

The file is configured as following:

<?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.110</Address>
    <MaxClients>64</MaxClients>
    <Port>5000</Port>
    <MaxRecvSize>4096</MaxRecvSize>
    <DisableNagle>False</DisableNagle>
  </SimConnect.Comm>
</SimBase.Document>


The console is saying the following:

0.00000 SimConnect version 10.0.61259.0

0.01538 Server: Scope=local, Protocol=Pipe, name=\\.\pipe\Microsoft Flight Simulator\SimConnect, MaxClients=64
0.01751 Server: Scope=local, Protocol=IPv6, Address=::1, Port=49396, MaxClients=64
0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64


Thanks in advance for your help!

System:

PC1: W7 x64
PC2: W7 x86

Simconnect Client is installed on PC2
SDK version: Acceleration Pack

#2 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 11 April 2011 - 10:58 PM

I don't have ASE but I run many apps from a remote machine ..  (FSInn, FSMap, REX, PlanG etc).

It appears that you don't have the remote machine set correctly.

"0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64"

It should say Address 192.168.1.110 and port 4096 as you have it set in your .xml file.  You can probably set this under and options setting or change it directly in a simconnect.cfg (not the .xml) on your remote machine.

It should also be noted that your FSX from a previous session should shut down correctly (no errors) or the simconnect ports are still clogged.  Reboot will fix this or correct the error when shutting down.  In my case it was FSCopilot wrecking the shutdown process due to the tuner section..

#3 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 12:03 AM

By "remote" you mean the computer without FS (the one running active sky) ?

And i confirm that all this code is in the xml file as specified.

I have reinstalled everything. Still not working :hrmm:

#4 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 07:37 AM

Right, I am talking about the counter part to the .xml file... the place where you put in your IP address and port on the remote (AS) machine. Where are you setting those numbers on the remote machine?  Is that within active sky?

They have to match - both port and IP on both machines.

Also, verify you IP is in fact .110

AS you indicated above, something isn't set correctly on the remote machine:

"0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64"

The address and port are not set on the AS machine.

#5 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 10:08 AM

The .cfg file is located in C:\Program Files\HiFi\ASE\SimConnectFiles an contains this:


[SimConnect]
Protocol=IPv4
Address=192.168.1.106
Port=500
MaxReceiveSize=8192
DisableNagle=1

(For testing, is is also located in C:\Users\ \Documents)

Do I need an XML file on the AS machine ?!!

EDIT: The IP is the one of the PC with FS installed?

PS. I changed the port to 500 for testing on both sides

Edited by SuperCar1000, 12 April 2011 - 10:11 AM.


#6 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 10:13 AM

Now you are getting somewhere....  getting closer.

You just need to make sure the port is the same and the IP address is the same (and matching the FSX machine).

Check your FSX machine IP (I use a little app called IP2.exe).   Let's say it says your FSX machine = 192.168.1.110.

In your .xml file you IP should be 192.168.1.110
In your .cfg (remote machine) the IP should also be 192.168.1.110.

The port should be the same... 500 will work.

You don't have the xml on both sides - just the FSX machine.  More or less it says "Here I am! I have the door open at this address and this port".  You client side (.cfg) say "I hear the port at this address is open...".

#7 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 10:20 AM

Ight!

The XML:

<?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.106</Address>
    <MaxClients>10</MaxClients>
    <Port>500</Port>
    <MaxRecvSize>8192</MaxRecvSize>
    <DisableNagle>True</DisableNagle>
  </SimConnect.Comm>


The CFG:

[SimConnect]
Protocol=IPv4
Address=192.168.1.106
Port=500
MaxReceiveSize=8192
DisableNagle=1


I have the same lines in the Console in FSX. I think FS dosen't even read the SimConnect.xml because the address and the port should be written. Even if I remove the file, there is no change in the console.

Thnaks for your help btw!!

Edited by SuperCar1000, 12 April 2011 - 10:21 AM.


#8 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 10:31 AM

I have no idea what you are talking about on the counsel.  What counsel?

#9 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 10:39 AM

Posted Image

This should reflect what's in the XML right ?

Edited by SuperCar1000, 12 April 2011 - 10:44 AM.


#10 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 10:45 AM

Bizzare - I have never seen that diagnostic output.

Google Simconnect Tool - http://www.softpedia...nfig-Tool.shtml
Go get that just to make sure you are changing the correct simconnect.xml file.

The correct location of the simconnect.xml file should be found in the same place as the FSX.cfg

It's almost as if you are changing an .xml file that is not in the correct location.

#11 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 10:51 AM

View PostBman., on Apr 12 2011, 09:45 AM, said:

Bizzare - I have never seen that diagnostic output.

Google Simconnect Tool - http://www.softpedia...nfig-Tool.shtml
Go get that just to make sure you are changing the correct simconnect.xml file.

The correct location of the simconnect.xml file should be found in the same place as the FSX.cfg

It's almost as if you are changing an .xml file that is not in the correct location.

I've used this tool, Infos are right. Location is right.

I'll try to contect M$ Tech support

#12 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 10:53 AM

I would just skip that simconnect output tool.  I don't know where it's pulling that data.

Could be a different version of simconnect that is running.
Does AS have a simconnect.msi that needs to be installed?

#13 SuperCar1000

SuperCar1000

    Commercial Pilot

  • Members
  • PipPipPipPipPip
  • 1,575 posts
  • Location:Montreal, Canada

Posted 12 April 2011 - 11:04 AM

View PostBman., on Apr 12 2011, 09:53 AM, said:

I would just skip that simconnect output tool.  I don't know where it's pulling that data.

Could be a different version of simconnect that is running.
Does AS have a simconnect.msi that needs to be installed?

My SDK is updated to Acceleration, so is the Client .msi runned on the Client machine.

I tried the "AI Traffic" test method. It pops up for a few seconds but no connection confirmation.

ASE is able to connect.

Startup log:
"11:59 AM - SimConnect SP2 instantiated!"

EDIT: Problem Solved... I receated the xml from scratch with the tool.

Thanks. 99999999999999999 times

#14 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 12 April 2011 - 12:42 PM

Sa-weet!  Simconnect can drive you up a wall sometimes.
When all else fails - just as you have done, create a new .xml and a new .cfg.

Glad it's now working.

#15 Ace_fragmagnet

Ace_fragmagnet

    Passenger

  • New Members
  • Pip
  • 1 posts

Posted 07 May 2012 - 04:07 PM

HI Guys
I would just like to say thanks.
I had this problem with my simconnect and as an IT expert was struggling with It over the past few days.
It wasn't clear to me what IP address went were.

I assumed the IP address in the xml file on the FS PC would be the remote IP address but it turns out it's the server address.

I'll be able to sleep to night  :hrmm:

#16 Bman.

Bman.

    First Class Member

  • Moderator
  • PipPipPipPipPipPip
  • 2,983 posts
  • Location:Missouri

Posted 07 May 2012 - 07:40 PM

Excellent - glad you got it working / figured.  It took me a while but it's rare that simconnect doesn't connect.  I will have the occasion when the simconnect doesn't clear out if FSX shuts down abnormally, then a reboot is needed unless I kill the process.

Bman.

#17 ALW

ALW

    Passenger

  • New Members
  • Pip
  • 1 posts

Posted 13 March 2014 - 10:28 AM

Hi Bman

I stumbled across this post (I'm new to this forum) and read with interest the issues involved. I too am suffering similar issues but just cannot resolve it.  I am attempting to connect ASE on a client machine with FSX on my FS machine.
All folders are shared, SimConnect where it should be and all the cfg/xml correct too.
The PCs are seeing each other but nothing I do will make it happen! I have followed the ASE instructions to the letter but still thing. I've been at it on an off for about 3 months.

What do I do I ask myself If you have any other suggestions I would be grateful.

Thank you

ALW