Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Alabeo C421 - Magneto bar

Featured Replies

Hello there !

Fed up with the magneto bar not functioning properly ? Like, you can't even switch off all the magnetos at once...

Proceed as follows :

1/ Please add the following line in the panel.cfg file for the C421, in the [VCockpit04] section

gaugexx=GAUGE_C421!Gauge_UPDATE_DIG_GP,            0,  0, 1,  1

where you will replace xx by the number immediately after the last gauge of the section (most probably xx=06)

If you are not sure of what you are doing, please keep a backup of your panel.cfg before making any change here.

2/ create a GAUGE_C421 folder in the panel folder for the C421

3/ create a GAUGE_UPDATE_DIG_GP.xml file in that new folder and edit it with Notepad

4/ insert following code in the newly created xml file :

<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document
        Type="AceXML"
        version="1,0"
        id="Gauge_UPDATE_DIG_GP">
    <Descr>AceXML Document</Descr>
    <Filename>Gauge_UPDATE_DIG.xml</Filename>
    <SimGauge.Gauge id="Gauge_UPDATE_DIG_GP" ArtDirectory=".">
        <FloatPosition>0.000,0.000</FloatPosition>
        <Size>1,1</Size>
        <Image id="Gauge_UPDATE_DIG_GP" Name="Gauge_UPDATE_DIGNOP_GP">
            <Transparent>True</Transparent>
        </Image>

        <Update id="GANG_BAR_BOTTOM">
            <Script>
            (P:local time,seconds) (L:ASD_LEVER_C421_GANG_BAR2_TIMER,number) 0.5 - 0.1 + &lt; if{
            (A:Recip eng left magneto:1,bool) (A:Recip eng right magneto:1,bool) or if{
                (A:Recip eng left magneto:1,bool) if{ 1 (&gt;L:BUFFER_CLICK1_METALIC,number) }
                (A:Recip eng right magneto:1,bool) if{ 1 (&gt;L:BUFFER_CLICK1_METALIC,number) }
                (&gt;K:MAGNETO1_OFF) }
            (A:Recip eng left magneto:2,bool) (A:Recip eng right magneto:2,bool) or if{
                (A:Recip eng left magneto:2,bool) if{ 1 (&gt;L:BUFFER_CLICK1_METALIC,number) }
                (A:Recip eng right magneto:2,bool) if{ 1 (&gt;L:BUFFER_CLICK1_METALIC,number) }
                (&gt;K:MAGNETO2_OFF) }
            }
            </Script>
        </Update>
    
 </SimGauge.Gauge>
</SimBase.Document>

 5/ save

6/ reload your aircraft in the sim

7/ enjoy !

If that does not work for you or if I speak Chinese, let me know in a message and I'll send you the files.

Have fun and contribute to the community !

G.

 

 

 

Edited by gpxe

Hi,
I've noticed for a long time that the battery bar is working and the magneto bar does not.

So your mod is pretty cool to fix that.

BUT unfortunately it does not work for me, i don't know why. Under investigation...

Win 10 Pro | P3Dv4.5 | X-Plane 11 | MSFS 2020 | I5-9600K @ 4.8GHz | RTX 2070 8GB | 32GB RAM | SSD | T.16000M

Excellent! Thank you very much, it works perfectly :smile:

On 8/25/2019 at 9:41 AM, Raller said:

BUT unfortunately it does not work for me, i don't know why. Under investigation...

Don't forget to save the XML file in the correct format (UTF-8) after editing it with the Notepad.

Greetings
Tim

My files on Flightsim.to

i5 12600K | 32Gb | RTX 4080

I found the solution. Believe it or not, if i copy and paste the code to Notepad++, after the last letter in this row ".......0.5 - 0.1 + &lt; if{ " there is a hidden sign (mayby a line feed or carriage return).

After i deleted this hidden sign from the code, everything works fine.
Thanks for this mod.

Win 10 Pro | P3Dv4.5 | X-Plane 11 | MSFS 2020 | I5-9600K @ 4.8GHz | RTX 2070 8GB | 32GB RAM | SSD | T.16000M

Works nicely.. Thanks! :smile:

Just a question... is

0.5 - 0.1 + &lt;

not the same as

0.4 - &lt;

??

Edited by Bert Pieke

Bert

  • 2 weeks later...
  • Author
On 8/27/2019 at 12:30 AM, Bert Pieke said:

Works nicely.. Thanks! :smile:

Just a question... is

0.5 - 0.1 + &lt;

not the same as

0.4 - &lt;

??

Indeed it should be... thta's the result of many  tryouts !

  • 1 year later...

Too much programming for me. I will just keep switching them individually 🙂🙂🙂

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.