
John Dowson
Members-
Posts
13,690 -
Joined
-
Last visited
-
Days Won
288
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by John Dowson
-
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
-
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....
-
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
-
MSFS2020 + FSUICP7 + PILOT2ATC CONNECT
John Dowson replied to Focus42's topic in FSUIPC Support Pete Dowson Modules
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. -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
John Dowson replied to John Dowson's topic in FSUIPC7 MSFS
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". -
FSUIPC free vs. registered
John Dowson replied to Fragtality's topic in FSUIPC Support Pete Dowson Modules
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. -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
John Dowson replied to John Dowson's topic in FSUIPC7 MSFS
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... -
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....
-
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.