Fuel selector for Cessna 310

Let Sim Innovations know about your Air Manager experience and let us know about your dream feature addition

Moderators: russ, Ralph

Post Reply
Message
Author
Radazz
Posts: 4
Joined: Wed Jul 14, 2021 12:32 pm

Fuel selector for Cessna 310

#1 Post by Radazz »

Very happy with Air Manager! Nearly eliminates using the mouse while flying.
One thing I can’t figure out is how to code a fuel switch for the Cessna 310.
Any help or information would be greatly appreciated.

Thanks in advance,
Jim

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: Fuel selector for Cessna 310

#2 Post by JackZ »

Hi
Without that much information it’s gonna be hard to even try to help.
We don’t even know which sim/platform/addon you are talking about!
Each addon either uses the standard variables/command or Datarefs/commands depending if we are talking about XPlane, FSX/P3D or MSFS, or addon specific variables/commands.
The outcome and way to proceed is different in both cases and of course on the platform
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

Radazz
Posts: 4
Joined: Wed Jul 14, 2021 12:32 pm

Re: Fuel selector for Cessna 310

#3 Post by Radazz »

X-Plane 11.55
Windows 10
Milviz 310R
Trying to duplicate the fuel switches on the floor of the cockpit that change each engine between main and auxiliary tanks.
Just a wish.

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Fuel selector for Cessna 310

#4 Post by Ralph »

This is not a place to order your (free) instruments :) We can help, but we will also need to know what help you require.
The first step would be to wacht the video tutorial from Tony.
https://www.youtube.com/watch?v=lLvlqMB ... fgML5TNaWV

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: Fuel selector for Cessna 310

#5 Post by JackZ »

The usual process of developing a gauge for XPlane is nearly always the same:
1- find the relevant Datarefs for the functions, that can be specific for the addon or generic ones. Dataref Editor is a Must Have for finding these, which more than likely have « fuel » in their name.
2- select what kind of control will be appropriate to achieve the desired result. Here two rotating switches with 4 positions each will do, with AM 4.x the new option « CIRCULAIR » will create the correct arrows item.
https://siminnovations.com/wiki/index.p ... Switch_add
3-with your favorite graphic editor, create a background first, then 4 png images with alpha channel for transparency of the handle in each of the proper position.

4- use the available resources. You can download similar fuel selector gauges to study the code and graphics (the C172 fuel selector is a good starting point).
As Ralph said, refer to the video tutorial by Tony for getting to grips, start coding, then ask specific questions on the forum for help into refining your coding.

5- once the gauge is working satisfactorily, you can publish the gauge to the store for others to enjoy.

6- Pat yourself on the back, you have developed your first gauge in AM!

Jacques
Last edited by JackZ on Thu Aug 26, 2021 4:32 pm, edited 1 time in total.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
jph
Posts: 2846
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Fuel selector for Cessna 310

#6 Post by jph »

All good points raised.

Just a note for @Ralph - you have a small typo with 'CIRCULAIR' - it should be 'CIRCULAR'
(in the link Jacques posted to the wiki)
Joe
Joe. CISSP, MSc.

Post Reply