FSiPanel not detecting aircraft change

Post Reply
some1
Posts: 10
Joined: Sun Dec 24, 2023 9:40 pm

FSiPanel not detecting aircraft change

Post by some1 »

Since SU15, when I change the aircraft between flights, FSiPanel often does not detect the change, and still uses previous aircraft profile. For example I make a practice landing with fsipanel, exit to menu, change aircraft, load on the tarmac, and FSipanel does not update the aircraft type. I have to click "Restart" the flight from the MSFS "Esc" menu, or restart FSiPanel for the program to notice.

It doesn't happen all the time, but very often.

It may be related to the change mentioned in the SDK update: "Improved: AircraftLoaded system event is triggered later once the aircraft is loaded".
https://docs.flightsimulator.com/html/I ... _Notes.htm
jpgarraio
Site Admin
Posts: 1459
Joined: Fri Sep 15, 2017 10:30 am

Re: FSiPanel not detecting aircraft change

Post by jpgarraio »

Interesting, thanks for the link, I will check it out.

Cheers,

J-P
Jean-Pierre Garraio
Developer
Image
some1
Posts: 10
Joined: Sun Dec 24, 2023 9:40 pm

Re: FSiPanel not detecting aircraft change

Post by some1 »

Hello Jean-Pierre, any luck in finding the issue? I still experience this problem in the latest version (1.0.0.102)

Cheers
mrbigglesworth
Posts: 10
Joined: Thu Jul 25, 2024 7:48 pm

Re: FSiPanel not detecting aircraft change

Post by mrbigglesworth »

Can confirm this is an ongoing issue. This also affects FSITL and jetways. I've noticed that if I finish a flight and go back to the main menu to load a new aircraft, then pick an airport and load in - if you call a jetway and it doesn't work chances are FSITL won't load any ai traffic at that airport. When I see this, I know that FISpanel will not have detected the airframe change either. If I restart the flight FSIpanel will notice the aircraft change and also jetways will work and traffic will populate the gate. I'm not suggesting that this is an issue with FSIpanel and FSLTL but suggesting that there is an internal sim issue (probably simconnect) that creates this issue which needs a flight reload.
jpgarraio
Site Admin
Posts: 1459
Joined: Fri Sep 15, 2017 10:30 am

Re: FSiPanel not detecting aircraft change

Post by jpgarraio »

Yes it triggers the acloaded event but with the old data... So MSFS SDK is far from perfect on this matter.
Best is just to restart FSiPanel if you change your aircraft.

Regards,

J-P
Jean-Pierre Garraio
Developer
Image
some1
Posts: 10
Joined: Sun Dec 24, 2023 9:40 pm

Re: FSiPanel not detecting aircraft change

Post by some1 »

I don't know how you detect the aircraft change, but when I tried to reproduce the issue to report it to Asobo devsupport, I could not. The code based on "SystemEvent" SDK sample works fine and detects the aircraft change, even though FSiPanel does not.

Maybe the c++ code I've attached below will be of help. It's based on "MSFS SDK\Samples\VisualStudio\SimConnectSamples\SystemEvent". You can swap the cpp file there and it will compile.
You do not have the required permissions to view the files attached to this post.
jpgarraio
Site Admin
Posts: 1459
Joined: Fri Sep 15, 2017 10:30 am

Re: FSiPanel not detecting aircraft change

Post by jpgarraio »

This is exactly the code I use to detect an aircraft change. It works most of the time, but suddenly, for no apparent reason, it doesn't trigger.
Jean-Pierre Garraio
Developer
Image
some1
Posts: 10
Joined: Sun Dec 24, 2023 9:40 pm

Re: FSiPanel not detecting aircraft change

Post by some1 »

I can confirm the new version with updated aircraft detection works without issues. Thanks J-P!
jpgarraio
Site Admin
Posts: 1459
Joined: Fri Sep 15, 2017 10:30 am

Re: FSiPanel not detecting aircraft change

Post by jpgarraio »

You're welcome, thanks for the feedback!

Cheers,

J-P
Jean-Pierre Garraio
Developer
Image
Post Reply