Quantcast
Channel: Caffeinated Aviator » XGoFlight 3.0
Viewing all articles
Browse latest Browse all 4

How to configure the GF-SECM in XGoFlight 3.0

$
0
0

The upcoming release of XGoFlight will also include support for the Single Engine Control Module (GF-SECM).  The configuration for the SECM should be a little familiar to those who already have a T8 module.

Like the EFIS implementation in XGoFlight 3.0, the SECM will work without any configuration entries.  XGoFlight will automatically setup the default commands and datarefs used by native aircraft.  If you choose the custom configuration route, you must provide a configuration entry for each switch, or that switch will not be active.

Below is an example configuration file using datarefs, commands, and actions:

{
    "devices" : {
        "secm" : {
            "0" : {
                "starter"        : {
                    "mode" : "command",
                    "command_off" : "sim/magnetos/magnetos_off_1",
                    "command_left" : "sim/magnetos/magnetos_left_1",
                    "command_right" : "sim/magnetos/magnetos_right_1",
                    "command_both" : "sim/magnetos/magnetos_both_1",
                    "command_start" : "sim/starters/engage_starter_1"
                },
                "battery"        : {
                    "mode" : "dataref",
                    "dataref" : "sim/cockpit/electrical/battery_on",
                    "type" : "int"
                },
                "alternator"     : { "action" : "electrical_generator1" },
                "avionics"       : { "action" : "systems_avionics" },
                "fuel_pump"      : { "action" : "engine_fuel_pump_all" },
                "carb_heat"      : {
                    "mode" : "command",
                    "off" : "sim/engines/carb_heat_off",
                    "on" : "sim/engines/carb_heat_on"
                },
                "pitot_heat"     : { "action" : "ice_pitot_heat_all" },
                "cowl"           : {
                    "mode" : "dataref",
                    "dataref" : "sim/cockpit2/engine/actuators/cowl_flap_ratio[0]",
                    "type" : "float"
                },
                "lights_panel"   : {
                    "mode" : "dataref",
                    "dataref" : "sim/cockpit/electrical/cockpit_lights",
                    "type" : "float"
                },
                "lights_beacon"  : { "action" : "lighting_beacon" },
                "lights_nav"     : { "action" : "lighting_nav" },
                "lights_strobe"  : { "action" : "lighting_strobe" },
                "lights_taxi"    : { "action" : "lighting_taxi" },
                "lights_landing" : { "action" : "lighting_landing" },
                "landing_gear"   : {
                    "mode" : "command",
                    "off" : "sim/flight_controls/landing_gear_down",
                    "on" : "sim/flight_controls/landing_gear_up"
                }
            }
        }
    }
}

NOTE: When there are no “off” or “on” values for dataref-based configuration records, “off” is assumed to be zero and “on” is assumed to be one.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Viewing all articles
Browse latest Browse all 4

Trending Articles