Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Paul,

First, I hope you're doing well.  When Time permits, I hope to leverage your expertise.  I’m writing managed C# code that communicates through FSUIPC. My goal is to toggle the fuel pumps using the MSFS event ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE (event ID 67076). However, I’m unsure about the correct second parameter to send in order to toggle the specific fuel pump switch(es). 

FBW API states:

The individual pumps are controlled via circuit connections. The corresponding circuit connection numbers are as follows:

Fuel and Trim Tank CIRCUIT CONNECTION NUMBERS
|    | 2  | 3  | 64 | 65 |    |    | 66 | 67 | 68 | 69 |    |   
| 70 | 71 | 72 | 73 | 74 |    |    | 78 | 79 | 76 | 77 | 75 |
|    |    |    |    |    | 80 | 81 |    |    |    |    |    |
Example Reverse Polish Notation (RPN) for Fuel Pump Circuit Connection
2 1 (>K:2:ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE)

 

I'm every, I'm unable to manipulate the switches via SendControlToFS with appropriate ID method.  I assume my value is incorrect.  Again, I would appreciate your expertise, when/if ime permits. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.