FSDreamTeam forum

Products Support => GSX Support MSFS => Topic started by: mercury67 on December 04, 2025, 04:24:18 pm

Title: Fenix A320 Refuel Script Synchronization Issue
Post by: mercury67 on December 04, 2025, 04:24:18 pm
Hey everyone,
I've built a custom script to inject fuel directly into the Fenix A320 fuel tanks because the native EFB lacks a simple "Refuel Only" option (without calling any other gsx service).

The good news is that GSX recognizes the fueling request, calls the truck, connects the hoses, and starts the refuel animation/sound.

The Problem: The GSX fueling animation terminates prematurely. For instance, if I'm going from 3000kg to 8000kg, the truck and animation stop around 5000kg, even though my custom script continues injecting fuel until the 8000kg target is reached.

Which specific GSX variables or SimVars do I need to manipulate within my custom script to accurately synchronize the fueling progress and duration with the GSX animation?

Alternatively, does GSX expose an API command or variable where I could simply input the desired target fuel load (e.g., Refuel_To_Target(8000kg)) and let GSX handle both the visual animation and the SimVar injection itself?

When GSX refuels via the EFB, the ECAM fuel quantity updates smoothly (e.g., in 20-30kg increments). When my script runs (even at a low fuel flow of 15kg/sec), the ECAM counter jumps up in much larger 100+ kg steps.
What are the correct SimVars that GSX uses to fill the Fenix tanks to ensure the ECAM display updates smoothly?

I've tried numerous combinations of GSX variables without success. Any insights into the required variables or the necessary synchronization logic would be highly appreciated!


EDIT: Solution was to use the FENIX refuel panel instead of the standard A vars.
Title: Re: Fenix A320 Refuel Script Synchronization Issue
Post by: virtuali on December 05, 2025, 03:20:00 pm
You don't have to act on GSX, it's enough your fuel increments are regular, since GSX simply monitors the standard fuel tanks quantity and decides it's time to go when the increments stops.