Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,690
  • Joined

  • Last visited

  • Days Won

    288

Everything posted by John Dowson

  1. But in normal shutdown, there are only termination messages. The "warnings" are only in your debug log: 112203 **** DevCom read/write threads still running - will exit anyway but could cause issues... 112500 **** DevCom Read thread terminated Anyway, I think things are ok as they re for now.... Cheers, John
  2. You could also explicitly terminate the thread yourself in your HandleShutdown function - just add an ipc.exit() call to the end.
  3. It has the same timestamp, so is just something that occurred around the same time, before the cancel completed. Its not an issue.
  4. Note that when you see this: in the log: This indicates that the thread didn't close correctly, and the initial termination code didn't stop the thread, and so was eventually killed by the main thread (or the DLLStop thread). This can cause issues if the com thread is not fully closed, but I haven't seen such an issue (with the updates in 6.1) so far....
  5. Yes, if you debug it will increase the latency. But I'm not going to adjust for this - and it still closed down correctly anyway, so I don't see an issue.
  6. Yes, but that maybe because you have TimeForLuaClosing=5 still set, which is the time betwwen these messages: 90688 Waiting for lua threads to process termination event... ... 95688 Lua threads being terminated: The com.close is done hbetween these log messages: 90688 LUA.1: Shutting down USB device hnd=1 ... 91328 LUA.1: USB Device disconnected So is taking roughly 0.65 seconds. You can try reducing the TimeForLuaClosing back to 2, or maybe even try 1. Also, for such issues, its also a good idea to enable logging for 'Extras', as this will then log the thread that is producing the message. Most shut-down issues are thread & timings related. The thread is still being killed later though, which is a bit strange, but at least the com has closed so this isn't an issue. However, I did reduce another timing that may have caused this - I will increase again slightly when I release this. Thanks for you help on this, John
  7. Then it sounds like either FSUIPC was not installed correctly or it is not auto-starting with MSFS. First, try starting FSUIPC7 manually by double-clicking the FSUIPC7.exe. If it runs ok you will see a splash screen and then the icon will appear in your system tray. If it doesn't run, you should get an error, and if thats the case you need to re-install the VC++ redistributables. Instructions for this can be found in the README.txt that is in the zip you downloaded. If FSUIPC7 runs when you manually start it, there is a problem with the auto-start. If thats the case, I need to see your InstallFSUIPC7.log and your EXE.xml, whose location can be found in the Installation log.
  8. No, not necessary. Please try the following instead: FSUIPC6.dll
  9. and also try this one (and show me the log): FSUIPC6.dll
  10. The file name has to be a substring of the aircraft name/title. The full aircraft title is "TBM 930 Asobo", so TBM930 doesn't match - you need the space, so use "TBM 930.hvar".
  11. You can read/write to offsets using the free version. If you want to assign to them, you need the registered version. So that is fine with the free version. and this would require the registered version.
  12. No - no way to currently access lvars via simconnect. I don't know Air Manager - can it access fsuipc offsets? If so, your best bet is probably to write the lvar values to free/user offsets, and then read them back from Air Manager using the offsets. If Air Manager doesn't use FSUIPC, then I'm not sure how you can do this - maybe using files, but that would probably be problematic as well as rather slow...
  13. and also please try this one (same ini settings): FSUIPC6.dll I would like to see the logs for both dlls please....
  14. Could you temporarily re-enable your event.terminate and try the attached dll please (with TimeForLuaClosing=5 set), and show me the log file after closing: FSUIPC6.dll
  15. Yes, thats the new warning I added in 6.1. I would use this for now (i.e. no event.terminate), and I'll look into why that lua delay isn't working and get back to you.
  16. Yes, looking at this now... Did you try this?
  17. Interestingly, I checked my INI and the parameter was already there... set to 2. Yes, interesting... Ok. After you have done that, could you re-enable and change that parameter to something quite large, say 5 (seconds) to see if that makes a difference, and show me your log file afterwards (or the closing extract) so I can see if that has any affect. If not, I will look into it....
  18. You could also try increasing this parameter (with your event.terminate active): You can try increasing that....looks like this is maybe set to 1 in your ini (?), as from your log: Only a 1s difference between those messages....
  19. Possibly. But please try first without closing down first - just comment out your event.terminate call.
  20. Not sure that will do much as its the com.close thats the issue. As I said, first try commenting out the event.terminate (which will prevent the event.cancel and com.close being called).
  21. Hi Luke, I'm not sure its failing - I think the com.close call is taking to long to finish and the script is being killed from the closing thread... Yes, there were some changes, but these were to increase some waits to give more time for the com threads to close down correctly. Was it working in the previous FSUIPC6 release before these changes? If you don't know, could you try (I can give you the previous dll if needed). Was that the complete log you posted? If so, then it does look like FSUIPC didn't shut-down correctly, which would prevent P3D from closing. It could be killing the thread when its in com.close that is causing the issue. Try commenting-out the event.terminate call, and see if terminating the thread without this is more reliable.
  22. I can confirm that using the lvar for this works. I can't get the MF events NO_SMOKING_ON, NO_SMOKING_OFF & NO_SMOKING_AUTO to work though. Has anyone got these working via FSUIPC7, and if so, how?
×
×
  • 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.