plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

ericmarciano avatar image
ericmarciano asked Deel edited

External Power

Hello Team,

I am trying to use the EXTERNAL POWER AVAILABLE boolean variable to know if an external power source is connected to the aircraft, in order to light up the AVAIL light on my panel. What I see is that it is always true. It is the same for the EXTERNAL POWER CONNECTION ON variable.

Is there a way to know if an external power source is actually connected to the aircraft?

gauges
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

·
Deel avatar image
Deel answered Deel edited

Hi,

You can use the "INTERACTIVE POINT OPEN:" for the gpu it's the "INTERACTIVE POINT TYPE: 4" it's defined in the "flight_model.cfg" to find the number.

ex :
"INTERACTIVE POINT OPEN:10", "Percent Over 100" == 1
gpu is connected


see :

https://docs.flightsimulator.com/html/Content_Configuration/SimObjects/Aircraft_SimO/flight_model/interactive_points.htm

https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Aircraft_SimVars/Aircraft_FlightModel_Variables.htm#INTERACTIVE_POINT_TYPE

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.