Skip to main content

CDI/HSI Configuration Options

With the release of the updated GNS 430/530 new options for driving a CDI or HSI have been introduced. They now specifically support:

  • Separate CDI source selection when multiple GNS units are installed
  • Driving vertical guidance from a GPS source (for RNAV-type approaches with vertical guidance)
  • Support for dual GNS units of the same type (for example two GNS530s or two GNS430s)

Legacy Mode / Backwards Compatibility

A cockpit panel developer may elect to not use these new capabilities at all, and the existing behavior will continue to function.

New CDI Source Selection Behavior

The updated GNS 430/530 package allows for each installed GNS unit to have its own CDI source selected; for example you could have a GNS 530 on NAV/COM1 with GPS set as the CDI source, while having a GNS 430 tied to NAV/COM2 with VLOC set as the CDI source, and the CDI "wired" to each GNS displays correct annunciations and lateral/vertical guidance.

To use this new capability, developers must first update the panel.xml file to activate the feature. To do this, find each <Instrument> tag for a GNS, and add a <NewCDIBehavior> tag under the instrument set to true. For a mixed 530/430 configuration:

<Instrument>
<Name>AS530</Name>
<NewCDIBehavior>True</NewCDIBehavior>
<NavIndex>1</NavIndex>
<ComIndex>1</ComIndex>
</Instrument>

<Instrument>
<Name>AS430</Name>
<NewCDIBehavior>True</NewCDIBehavior>
<NavIndex>2</NavIndex>
<ComIndex>2</ComIndex>
</Instrument>

If the <NewCDIBehavior> tag is either omitted or set to false, legacy behavior will govern CDI behavior, and if the tag exists and is set to true, then the New CDI Behavior will govern.

Additionally, in your internal model XML file, the templates for the GNS units will need to have the EXTERNAL_AUTOPILOT_BEHAVIOR_CONTROL parameter added to them:

<UseTemplate Name="ASOBO_AS530_Template">
<EXTERNAL_AUTOPILOT_BEHAVIOR_CONTROL />
</UseTemplate>

Configuring the CDI for the New Behavior

Once the GNS has been configured for the new CDI behavior, you must also configure the actual CDI to listen to the correct variables from the simulator.

Linking the CDI Instrument to the GPS Instrument

The GNS units will index themselves, starting at index 1, for each type of GNS, and will publish CDI source information in an LVAR according to the type of GNS and the index of that type of GNS.

Examples:

  • Aircraft with one GNS 530 as NAV/COM1, and one GNS 430 as NAV/COM2 (like the default steam gauge C172):
    • NAV/COM 1 is the first GNS530, so it will use AS530_CDI_Source_1
    • NAV/COM 2 is the first GNS430, so it will use AS430_CDI_Source_1
  • Aircraft with two GNS 530s, one each as NAV/COM1 and NAV/COM2:
    • NAV/COM 1 is the first GNS530, so it will use AS530_CDI_Source_1
    • NAV/COM 2 is the second GNS530 also, so it will use AS530_CDI_Source_2

Setting the CDI Source

The GNS unit will set the CDI Source LVAR (eg AS530_CDI_Source_1) to true (1) if the source for that CDI is GPS, and will set it to false (0) if the source is the tuned NAV radio (VLOC mode). In this way, the two GNS units can be set separately –- for example one GPS unit can be set to GPS mode while the other is set to VLOC mode and the CDIs will display correctly for both radios.

Lateral Guidance Needle

The CDI should be configured to use the values from A:GPS CDI NEEDLE or A:NAV CDI:<index> depending on whether the source is set to GPS or VLOC.

RPN example for a GNS530 configured as NAV/COM1:

(L:AS530_CDI_Source_1, Bool) if {
(A:GPS CDI NEEDLE, Number) 127 +
} els{
(A:NAV CDI:1, Number) 127 +
}

Localizer (lateral guidance) Validity Flag

To detect whether there is a valid lateral guidance source for the CDI, you need to determine first what CDI source is set for the CDI and then determine whether there is valid guidance for that source.

RPN example for a GNS530 configured as NAV/COM1:

(A:GPS IS ACTIVE FLIGHT PLAN, Bool)
(A:NAV HAS NAV:1)
(L:AS530_CDI_Source_1, Bool) ?

Glideslope (vertical guidance) Validity Flag

To detect whether there is a valid vertical guidance source for the CDI GSI, you need to determine first what CDI source is set for the CDI and then determine whether there is valid guidance for that source.

RPN example for a GNS530 configured as NAV/COM1:

(A:GPS HAS GLIDEPATH, Bool)
(A:NAV HAS GLIDE SLOPE:1)
(L:AS530_CDI_Source_1, Bool) ?

GPS Vertical Guidance Without Split-CDI

Developers can also choose to display vertical guidance for GPS approaches without having to implement the split CDI behavior if preferred. To do so, the following examples apply:

Vertical Guidance Needle

The CDI should be configured to use the values from A:GPS GSI NEEDLE or A:NAV GSI:1 depending on whether the source is set to GPS or VLOC.

RPN example for a GNS unit configured as NAV/COM1:

(A:GPS DRIVES NAV1, Bool) if {
(A:GPS GSI NEEDLE, Number) 127 +
} els{
(A:NAV GSI:1, Number) 127 +
}

Glideslope (vertical guidance) Validity Flag

To detect whether there is a valid vertical guidance source for the CDI GSI, you need to determine first what CDI source is set for the CDI and then determine whether there is valid guidance for that source.

RPN example for a GNS unit configured as NAV/COM1:

(A:GPS HAS GLIDEPATH, Bool)
(A:NAV HAS GLIDE SLOPE:1)
(A:GPS DRIVES NAV1, Bool) ?