These are the Support Forums for FSUIPC and related products.
These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.
Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.
Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE
[Solved] FSUIPC7 log around an uncommanded dual engine shutdown (Fenix A320, MSFS 2024) - help reading it?
If you have an entry in the FSUIPC7.log file that shows the shutdown commands, to determine which application this comes from (if indeed it comes via SimConnect) you need to activate and look at the SimConnect.log file. However, this will only help if the event is being triggered via SimConnect though. If its coming directly from a gauge or js code then this won't be reported in the SimConnect log file. Some aircraft do use The SimConnect interface internally, and also via WASM, so it may help.
If you want to try this, first activate the generation of the SimConnect log file. To do this, see:
https://fsuipc.com/community/fsuipc-faq-other/logging-simconnect-when-request-by-fsuipc-support/.
Once you have a simconnect log file, you need to find the entry in the log file. This can be difficult... Maybe try this application that helps interrogate the simconnect log file:
https://github.com/bm98/SConnectLogReader
Note I have been meaning to try this app but have not yet done this...
I also found your posts in the MSFS dev support forums and Aerosoft forums and have put the links to these back into your original post. Reading these, it seems that this is either an issue for Asobo or the aircraft developers and is not related to FSUIPC at all, although you can still use FSUIPC's logging facilities to see this happening.
Sorry I can't be of more help. Please update this thread if you find the solution or any further information regarding this issue.
Regards,
John
Next chance at the weekend, I think. 😅 I´ll be back. Thank you! 👍
Hi John,
thanks again for the L:var logging tip. It caught three uncommanded dual engine shutdowns in a normal flight today
(Fenix A321, MSFS 2024 1.8.16.0, FSUIPC 7.5.9). Full log, ini and Lua are attached, as you asked.
What the log shows (local time; your log times converted with the "System time" line, so accurate to about a second):
- Normal engine start: S_ENG_MASTER_1 = 1 at 09:57:07, S_ENG_MASTER_2 = 1 at 10:02:33.
- Shutdown 1 (taxi): S_ENG_MASTER_1 = 0 and S_ENG_MASTER_2 = 0 at 10:04:54.9, same log timestamp.
- Shutdown 2 (descent): both = 0 at 10:37:17.5.
- Shutdown 3 (descent): both = 0 at 10:41:31.8.
- The recoveries are the Fenix "Ready" panel state (both = 1 at 10:09:07, 10:37:33, 10:41:44).
- No key or button entries around any of the three shutdowns.
Each shutdown happened when MSFS released its input block after a sim UI window had focus (Microsoft EFB, the Fenix app inside it). ChasePlane logs the release in the same second, and the Fenix aircraft log shows "Master switch off" in that second too.
Three questions where your knowledge would help:
1. With LogButtonsKeys=Yes, are button changes on scanned devices logged even if the buttons are not assigned in FSUIPC? My throttle (WINCTRL URSA MINOR 32 Throttle Metal R, joystick 0) has the engine master switches, but the log shows no button entries even at the normal engine start. So I am not sure whether "no buttons in the log" really rules out the hardware switches.
2. When two L:vars show the same timestamp, does that mean they changed at the same moment, or only that FSUIPC noticed both changes in the same polling cycle?
3. Your SimConnect logging instructions: I put SimConnect.ini in LocalCache (where my UserCfg.opt is, MS Store version), but no log was created. I have now added a copy in LocalState and a log path without spaces. Is there anything else for MSFS 2024 that I should know?
Thanks!
Posted by: @micromoon1. With LogButtonsKeys=Yes, are button changes on scanned devices logged even if the buttons are not assigned in FSUIPC?
Yes - button changes are logged for all acquired devices regardless of whether they are assigned or not.
Posted by: @micromoonWhen two L:vars show the same timestamp, does that mean they changed at the same moment, or only that FSUIPC noticed both changes in the same polling cycle?
The latter - they will have changed in the same scan/packet received of lvar values. There is no event/callback when an lvar changes - the WASM scans and sends all lvar values at 6Hz.
Posted by: @micromoonYour SimConnect logging instructions: I put SimConnect.ini in LocalCache (where my UserCfg.opt is, MS Store version), but no log was created. I have now added a copy in LocalState and a log path without spaces. Is there anything else for MSFS 2024 that I should know?
Not sure why that isn't working. Maybe change the folder or drive where the logs are being created. For example, some folks have issues when trying to save this files under C:\ (due to windows permissions). Also check the SimConnect.ini file name - sometimes an additional '.txt' extension is added which prevents the ini file from being loaded.
I see you have also updated your Asobo post, but still no response from them. Have you also reported this to Fenix, as this issue could be on their side.
Sorry for the delay in response - I missed this for some reason...
Regards,
John
Posted by: @micromoonWhat the log shows (local time; your log times converted with the "System time" line, so accurate to about a second):
- Normal engine start: S_ENG_MASTER_1 = 1 at 09:57:07, S_ENG_MASTER_2 = 1 at 10:02:33.
- Shutdown 1 (taxi): S_ENG_MASTER_1 = 0 and S_ENG_MASTER_2 = 0 at 10:04:54.9, same log timestamp.
- Shutdown 2 (descent): both = 0 at 10:37:17.5.
- Shutdown 3 (descent): both = 0 at 10:41:31.8.
- The recoveries are the Fenix "Ready" panel state (both = 1 at 10:09:07, 10:37:33, 10:41:44).
- No key or button entries around any of the three shutdowns.
You can also try setting logging for WASM->Debug. This will then log any calc. code sent to the WASM, including requests to update lvars. Probably won't help, but would confirm that nothing coming from FSUIPC (including your lua script) is setting/changing these lvars.
