<Gauge Name="Eng1 RPM Indicator" Version="1.0">
   <Image Name="rpm_back.bmp" ImageSizes="72,72,0,0"/>

<Element>
<Select>
<Value>
       (A:Circuit general panel on, bool) 1 == if{ (L:Blink0_20,bool) (G:Var9) == if{ (L:Blink0_20,bool) ! (&gt;G:Var9) (L:Warn,number) 1 + (&gt;L:Warn,number) } }
</Value>
</Select>
</Element>

<Element>
<Select>
<Value>(A:Circuit general panel on, bool) 1 == if{ (L:Run,number) 2 &lt; (L:Warn,number) 100 &gt; &amp;&amp; if{ 1 (&gt;L:Run,number) (L:Warn,number) 180 &gt; if{ 2 (&gt;L:Run,number) } } } </Value>
</Select>
</Element>

<Element>
<Select>
<Value>
	   (L:Run,number) 1 == (L:Warn,number) 170 &lt; &amp;&amp; if{ 120 (&gt;L:eng1 rotor rpm,rpm) 120 (&gt;L:eng2 rotor rpm,rpm) (L:Warn,number) 105 &gt; if{ 120 (&gt;L:eng1_n1, number) 120 (&gt;L:eng2_n1, number) } els{ (A:eng1 rotor rpm,rpm) 0.048 / 0.5 * (&gt;L:eng1 rotor rpm,rpm) (L:Warn,number) 177 &gt;  } }
</Value>
</Select>
</Element>

<Element>
<Select>
<Value>(A:Circuit general panel on, bool) 0 == if{ 0 (&gt;L:Run,number) 0 (&gt;G:Var9) 0 (&gt;L:Warn,number) 0 (&gt;L:eng1_n1, number) 0 (&gt;L:eng2_n1, number) 0 (&gt;L:eng1 rotor rpm,rpm) }     
</Value>
</Select>
</Element>



 <Element>
      <Position X="108" Y="111"/>
      <Image Name="rpm3.bmp" PointsTo="East">
         <Axis X="38" Y="13.5"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="120">(L:eng1_n1, number)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0" /> 
         </Failures>
         <Nonlinearity>
            <Item Value="0" Degrees="-40" />
	    <Item Value="20" Degrees="0" />
	    <Item Value="60" Degrees="70" />
	    <Item Value="100" Degrees="190" />
	    <Item Value="120" Degrees="240" />
         </Nonlinearity>
         <Delay DegreesPerSecond="220"/>
      </Rotate>
   </Element>

   <Element>
      <Position X="108" Y="111"/>
      <Image Name="rpm4.bmp" PointsTo="East">
         <Axis X="38" Y="13.5"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="120">(L:eng2_n1, number)</Value>
         <Failures>
            <SYSTEM_ENGINE Action="0"/>
	    <SYSTEM_ELECTRICAL_PANELS Action="0" />  
         </Failures>
         <Nonlinearity>
            <Item Value="0" Degrees="-40" />
	    <Item Value="20" Degrees="0" />
	    <Item Value="60" Degrees="70" />
	    <Item Value="100" Degrees="190" />
	    <Item Value="120" Degrees="270" />
         </Nonlinearity>
         <Delay DegreesPerSecond="220"/>
      </Rotate>
   </Element>
   <Element>
      <Position X="108" Y="111"/>
      <Image Name="rpm2.bmp" PointsTo="East">
         <Axis X="38" Y="13.5"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="120">(L:eng1 rotor rpm,rpm)</Value>
         <Failures>
	    <SYSTEM_ELECTRICAL_PANELS Action="0" />  
         </Failures>
         <Nonlinearity>
            <Item Value="0" Degrees="-40" />
	    <Item Value="20" Degrees="0" />
	    <Item Value="60" Degrees="70" />
	    <Item Value="100" Degrees="190" />
	    <Item Value="120" Degrees="270" />
         </Nonlinearity>
         <Delay DegreesPerSecond="220"/>
      </Rotate>
   </Element>
   <Mouse>
            <Tooltip>Triple Tachometer</Tooltip>
   </Mouse>
</Gauge>
