March 12, 201016 yr 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.
March 12, 201016 yr 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 FS RTWR SHRS F-111 JoinFS Little Navmap
March 12, 201016 yr 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