Jump to content
The simFlight Network Forums

Binding key, not working-MSFS


martynahubert

Recommended Posts

Your file shows that FSUIPC could not connect to MSFS:

Quote

     1250 Auto-started via EXE.xml with DetectToConnectDelayAuto=60, InitialStallTime=20
     1250 **** Auto-start tuning is active
     3344 Simulator detected
    63344 Trying to connect...
    83360 **** SimConnect open event not received in required time limit: Re-connecting now...
    83578 Trying to connect...
   103578 **** SimConnect open event not received in required time limit: Re-connecting now...
   103797 Trying to connect...
   123797 **** SimConnect open event not received in required time limit: Re-connecting now...
   124016 Trying to connect...
   144031 **** SimConnect open event not received in required time limit: Re-connecting now...
   144250 Trying to connect...
   165156 Failed on SimConnect_Open for AI Traffic Client, return = 0x80004005

Nothing is going to work if it can't connect.

I don't understand why it can't connect, or why it didn't log another 'SimConnect open event not received ...' message at 164250 and try again. Did MSFS reach the main menu stage, and if so how long does this take?

Can you reboot your PC and try again. If FSUIPC again fails to connect by the time MSFS is in the main menu, exit FSUIPC and show me the log file again (please always exit FSUIPC7 before attaching files). Then restart FSUIPC7 manually - does it then connect or not?

Link to comment
Share on other sites

As You adwised, I rebooted computer and everything works as it should, unfortunately I can't add the log file because it is 16 kb in size and maks total size can be 14 kb as You know  and by the way, I can't find it anywhere bind key for runway lights, has not been added or are you planning to in the future?

Link to comment
Share on other sites

1 hour ago, martynahubert said:

As You adwised, I rebooted computer and everything works as it should,

Ok - when you get strange connection issues, ir is normally down to windows and a reboot us needed,

1 hour ago, martynahubert said:

I can't add the log file because it is 16 kb in size and maks total size can be 14 kb as You know 

The upload limit is rather restrictive for new forum members - it will increase as you post more. You can also zip/compress the files as they reduce very well, but no need to see your files if its working.

1 hour ago, martynahubert said:

I can't find it anywhere bind key for runway lights, has not been added or are you planning to in the future?

FSUIPC provides access to all FS controls (and more) - there just aren't any for the PMDG 737 runway lights, You can use the available presets though, by checking 'Select for Preset', then click the Find Preset... button and navigate to the PMDG 737 presets. You can also use the MF HubHop site to search for presets - the following are available for the runway lights:

image.thumb.png.bd43ebbaf4d38d282a3d3ff50ff1b279.png

For PMDG aircraft, you can also use the custom controls provided by the PMDG SDK - see the following article on how to use these (although many are available via presets, but not all):

John

Link to comment
Share on other sites

13 hours ago, martynahubert said:

I tried restart manually Fsuipc but not launching

What do you mean by this? Do you not see the FSUIPC splash screen when FSUIPC starts? Can you not see the main window after pressing Alt+F?
The log file you attached is again showing that FSUIPC cannot connect to MSFS. But I don't understand why it stops after 4 attempts.

What other add-ons are you using?

Once MSFS starts, how long does it take to arrive to the main menu state? Can you time this please - do the following
     - start MSFS and time how long it takes from when you see the MSFS window appear (or, better, from when you see the FSUIC splash screen) to
        when it gets to the main menu state. Also, when FSUIPC starts (i.e. after you see the FSUIPC splash-screen) exit/quit FSUIPC - do this
        by opening the main window (Alt + F) and then select File -> Exit.
     - Once MSFS started and has reached the main menu, manually start FSUIPC7. Does it now connect? Exit MSFS and show me the FSUIPC7.log file
        from this test,
     - Open the FSUIPC7.ini file and set the DetectToConnectDelayAuto ini parameter to the approximate number of seconds it took MSFS to
        start and arrive at the main menu. Also set the InitialStallTime ini parameter to 45.
     - then restart MSFS. Does FSUIPC7 now start and connect ok? Show me the FSUIPC7.log file from this test.

If this issue persists, then I may need to see a SimConnect log file, as it seems that FSUIPC is unable to obtain a simconnect connection for some reason. To generate a SimConnect log file, see the following FAQ entry:  

 

Link to comment
Share on other sites

11 hours ago, John Dowson said:

What do you mean by this? Do you not see the FSUIPC splash screen when FSUIPC starts? Can you not see the main window after pressing Alt+F?
The log file you attached is again showing that FSUIPC cannot connect to MSFS. But I don't understand why it stops after 4 attempts.

What other add-ons are you using?

Once MSFS starts, how long does it take to arrive to the main menu state? Can you time this please - do the following
     - start MSFS and time how long it takes from when you see the MSFS window appear (or, better, from when you see the FSUIC splash screen) to
        when it gets to the main menu state. Also, when FSUIPC starts (i.e. after you see the FSUIPC splash-screen) exit/quit FSUIPC - do this
        by opening the main window (Alt + F) and then select File -> Exit.
     - Once MSFS started and has reached the main menu, manually start FSUIPC7. Does it now connect? Exit MSFS and show me the FSUIPC7.log file
        from this test,
     - Open the FSUIPC7.ini file and set the DetectToConnectDelayAuto ini parameter to the approximate number of seconds it took MSFS to
        start and arrive at the main menu. Also set the InitialStallTime ini parameter to 45.
     - then restart MSFS. Does FSUIPC7 now start and connect ok? Show me the FSUIPC7.log file from this test.

If this issue persists, then I may need to see a SimConnect log file, as it seems that FSUIPC is unable to obtain a simconnect connection for some reason. To generate a SimConnect log file, see the following FAQ entry:  

 

I mean that I restart fsuipc, splash screen showed up then disappears and that's all, not connected with MSFS

Now  I launched MSFS and this time Fsuipc connected with MSFS, next exited Fsuipc as You adwised, then restart manually and the same as before,  just showed up splash screen, disappears and not connected

From the moment the FSUIC splash screen showed up to the moment it went to the main menu state, it took 4.36 sec.

I use many addons, for example FS Realistic and what I noticed, when I restart manually , fsuipc splash screen showing up together with FS Realistic even though FS realistic is already running in the background, maybe that's the problem.

FSUIPC7.log

Link to comment
Share on other sites

12 hours ago, martynahubert said:

From the moment the FSUIC splash screen showed up to the moment it went to the main menu state, it took 4.36 sec.

That seems very quick...so when FSUIPC tries to connect, MSFS is in the main menu state. I don't understand why it cannot connect then...
Are you doing anything with MSFS, or is it just waiting un the main menu?

The log file you attached shows that FSUIPC eventually connected, but took over 3 minutes, and you manually quit FSUIPC after 6mins 25 seconds.

12 hours ago, martynahubert said:

I use many addons, for example FS Realistic and what I noticed, when I restart manually , fsuipc splash screen showing up together with FS Realistic even though FS realistic is already running in the background, maybe that's the problem.

That is strange - I don't know why it would do that... You could maybe try with  FS Realistic not running 9or auto-started) to see if that makes a difference.

Could you show me / attach your EXE.xml file so I can see what else is being started - the location of this file will be logged in your InstallFSUIPC7.log file.

I think you will need to activate logging in SimConnect (see that FAQ entry I referenced above) and show me a SimConnect.log file. Once activated, start MSFS and ley everything auto-start. Leave it for a few minutes, and if FSUIPC doesn't connect, exit MSFS and show the the SimConnect.log file (or files), together with your FSUIPC7.log file. They will be very big and will need zipping/compressing. Even after that they will probably be too large to attach and you may need to use a file-exchange service to show it to me.

Can you also add the following to the [General] section of your FSUIPC7.ini file please:
     TestOptions=x800
That will add additional logging around the start-up and connection.

Link to comment
Share on other sites

"The log file you attached shows that FSUIPC eventually connected, but took over 3 minutes, and you manually quit FSUIPC after 6mins 25 seconds."

Right, You told me after you I see the FSUIPC splash-screen) exit/quit FSUIPC by opening the main window (Alt + F) and then select File -> Exit.

So I did like this, You can see new log

Always I wait for MSFS, I do nothing else during waiting.

With regard SimConnect I'll do a bit later and I'll send You.

FSUIPC7.log InstallFSUIPC7.log

Link to comment
Share on other sites

Please show me this file as well: C:\Users\marty\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\EXE.xml

2 minutes ago, martynahubert said:

Right, You told me after you I see the FSUIPC splash-screen) exit/quit FSUIPC by opening the main window (Alt + F) and then select File -> Exit.

Yes, but it connected and was working when you did this, although it took far longer to connect than it should.

I do not know or understand why simconnect is either not responding or taking a very long time to respond, I can only think that this is due to other simconnect clients, which is why I would like to see a simconnect log file (as this shows all simconnect activity.

Not sure why you attached that log file - just shows that you exited FSUIPC after 14 seconds, and there is no additional logging.
For the time being, please run with the logging console open (Log -> Open console) and monitor the messages, and only exit FSUIPC if you see that it cannot connect after a minute or so.
Also please set the following options in the [General] section of your FSUIPC7.ini file:
   InitialStallTime=45
   DetectToConnectDelayAuto=20
   StartUpTuningDoneVersion=-1

   TestOptions=x800

This will reset those parameters and prevent auto-tuning changing them (as well as setting the additional logging),

This issue seems very different from your original issue. Did this connection problem start recently?

Link to comment
Share on other sites

I tried "To get a SimConnect LOG", I did everything as you described file I saved in folder C:\Users\xxx\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState, I tried as well to C:\Users\xxx\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache but there is no any file "SimConnect1.Log, unless I've did something wrong,  replaced path to logfile where I want to store but nothing, just in case I added this file.

 

exe.xml FSUIPC7.ini Simconnect.ini.log

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.