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.

Magneto Gauge Help

Featured Replies

I have a two engine plane and I am trying to make a panel for it. I have an XML gauge for the right and left magneto on each engine. How can I make this gauge specific for the left hand engine and another set for the right hand engine? The code for one of the left magnetos is as follows"


<Gauge Name="Magnetos 1" Version="1.0"> <Element> <Select> <Value>(G:Var1,bool)</Value> <Case Value="0"> <Image Name="switch_off.bmp" ImageSizes="30,45"/> </Case> <Case Value="1"> <Image Name="switch_on.bmp" ImageSizes="30,45"/> </Case> </Select> </Element> <Mouse> <Help ID="HELPID_SOPWITH_MAG"/> <Tooltip ID="TOOLTIPTEXT_LIGHT_IGNITION_ON"/> <Cursor Type="Hand"/> <Click>(G:Var1) ! (>G:Var1) (G:Var1) if{ 0 (>K:MAGNETO1_BOTH) } els{ 0 (>K:MAGNETO1_OFF) }</Click> </Mouse></Gauge>Thanks, regards, Bob.

Bob, Am i getting this right? 2 switches for the left engine ( L.Mag/R.Mag) & 2 for the right engine? If so it might be a good idea to combine the left engines together, right too - or - make all 4 switches into one gauge.. One logical reason - if the L engine mag is on Left, then you turn on the right Mag, the mag setting has to be set to "BOTH", not L & R mag on. Another tidbit,, it may be a good idea to monitor the actual mag state to show the position of the switches because on a flight load the switches will show OFF even if the engines are running, the switches will only show correctly once toggled. Also the switches will not follow a keyboard input. Just FYI.

How can I make this gauge specific for the left hand engine and another set for the right hand engine?
Use the following sim commands, some read variables are given too. Magneto2 = Right engnine
(>K:MAGNETO1_BOTH) (>K:MAGNETO1_DECR) (>K:MAGNETO1_INCR) (>K:MAGNETO1_LEFT) (>K:MAGNETO1_OFF) (>K:MAGNETO1_RIGHT) (>K:MAGNETO1_SET) (>K:MAGNETO1_START) (>K:MAGNETO2_BOTH) (>K:MAGNETO2_DECR) (>K:MAGNETO2_INCR) (>K:MAGNETO2_LEFT) (>K:MAGNETO2_OFF) (>K:MAGNETO2_RIGHT) (>K:MAGNETO2_SET) (>K:MAGNETO2_START)<!-- Some read variables to check state... -->(A:RECIP ENG1 LEFT MAGNETO, )  (A:RECIP ENG1 RIGHT MAGNETO, ) (A:RECIP ENG2 LEFT MAGNETO, )(A:RECIP ENG2 RIGHT MAGNETO, )  

Hope this helps,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

  • Author
Bob, Am i getting this right? 2 switches for the left engine ( L.Mag/R.Mag) & 2 for the right engine? If so it might be a good idea to combine the left engines together, right too - or - make all 4 switches into one gauge.. One logical reason - if the L engine mag is on Left, then you turn on the right Mag, the mag setting has to be set to "BOTH", not L & R mag on. Another tidbit,, it may be a good idea to monitor the actual mag state to show the position of the switches because on a flight load the switches will show OFF even if the engines are running, the switches will only show correctly once toggled. Also the switches will not follow a keyboard input. Just FYI. Use the following sim commands, some read variables are given too. Magneto2 = Right engnine
(>K:MAGNETO1_BOTH) (>K:MAGNETO1_DECR) (>K:MAGNETO1_INCR) (>K:MAGNETO1_LEFT) (>K:MAGNETO1_OFF) (>K:MAGNETO1_RIGHT) (>K:MAGNETO1_SET) (>K:MAGNETO1_START) (>K:MAGNETO2_BOTH) (>K:MAGNETO2_DECR) (>K:MAGNETO2_INCR) (>K:MAGNETO2_LEFT) (>K:MAGNETO2_OFF) (>K:MAGNETO2_RIGHT) (>K:MAGNETO2_SET) (>K:MAGNETO2_START)<!-- Some read variables to check state... -->(A:RECIP ENG1 LEFT MAGNETO, )  (A:RECIP ENG1 RIGHT MAGNETO, ) (A:RECIP ENG2 LEFT MAGNETO, )(A:RECIP ENG2 RIGHT MAGNETO, )  

Hope this helps,Roman

Hi Roman. Yes you are correct. I have two mags on the L Eng. and two mags on the R Eng. Thanks for the help. I am no XML expert but I'll try your suggestions. Best regards, Bob.

Create an account or sign in to comment

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.