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.

Gauge Editing

Featured Replies

Hi all.I am trying to do something I thought was simple. Adding prop rpm to the tooltip section (See gauge xml below)of this gauge from Rick Piper's great Armsrong Whitworth Argosy.When you hover the mouse over the gauge now, all you get is "No2RPM" and I would like to get the rpm like the gauge with his excellent HS748.I have a real good XML editor, Altova XMLSpy so editing is no problem.Any help would be great, I think I am missing something simple.&ltGauge Name="No2_RPM_Indicator" Version="3.0"> &ltImage Name="RPM_Background.bmp" ImageSizes="143,143" Luminous="0"/> &ltElement> &ltPosition X="72" Y="72"/> &ltImage Name="RPM_Needle2.bmp" PointsTo="East" ImageSizes="62,13," Luminous="0"> &ltAxis X="7" Y="6.5"/> &ltRotate> &ltValue Minimum="-7520" Maximum="9390">(A:GENERAL ENG2 RPM,RPM) 7520 &ampampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:general eng2 propeller lever position, percent) 0 &ampgt; &ampamp;&ampamp; &ampamp;&ampamp; if{ (A:general eng2 throttle lever position,percent) 93.8 * } els{ (A:GENERAL ENG2 RPM,RPM) 200 &amplt; (L:No2_HP_Cock, number) 2 &amplt; &ampamp;&ampamp; if{ (A:Eng2 oil pressure,PSI) 7520 - } els{ (A:GENERAL ENG2 RPM,RPM) 7520 - } } &ltFailures> &ltSYSTEM_ENGINE Action="0"/> &ltNonlinearity> &ltItem Value="-7520" X="71" Y="8"/> &ltItem Value="0" X="99" Y="17"/> &ltItem Value="3752" X="112" Y="23"/> &ltItem Value="4502.4" X="113" Y="24"/> &ltItem Value="8442" X="119" Y="34"/> &ltItem Value="9380" X="121" Y="36"/> &ltDelay DegreesPerSecond="10"/> &ltElement> &ltPosition X="72" Y="72"/> &ltImage Name="RPM_Needle1.bmp" PointsTo="East" ImageSizes="66,10," Luminous="0"> &ltAxis X="7" Y="5"/> &ltRotate> &ltValue Minimum="-7520" Maximum="9380">(A:GENERAL ENG2 RPM,RPM) 7520 &ampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:general eng2 propeller lever position, percent) 0 &ampgt; &ampamp;&ampamp; &ampamp;&ampamp; if{ (A:general eng2 throttle lever position,percent) 93.8 * } els{ (A:GENERAL ENG2 RPM,RPM) 200 &amplt; (L:No2_HP_Cock, number) 2 &amplt; &ampamp;&ampamp; if{ (A:Eng2 oil pressure,PSI) 7520 - } els{ (A:GENERAL ENG2 RPM,RPM) 7520 - } } &ltFailures> &ltSYSTEM_ENGINE Action="0"/> &ltNonlinearity> &ltItem Value="-7520" X="71" Y="8"/> &ltItem Value="-7500" X="131" Y="48"/> &ltItem Value="0" X="11" Y="76"/> &ltItem Value="3752" X="109" Y="21"/> &ltItem Value="4502.4" X="121" Y="36"/> &ltItem Value="8442" X="100" Y="125"/> &ltItem Value="9380" X="70" Y="131"/> &ltDelay DegreesPerSecond="26"/> //---------------------------PROPELLER CONTROL UNIT----DART 520-------------- &ltElement> &ltSelect> &ltValue>(A:general eng2 throttle lever position,percent) 91 &amplt; (A:general eng2 propeller lever position, percent) 0 &ampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:Sim on ground, bool) 0 &ampgt; (L:Emergency_Power, enum) 1 &amplt; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; if{ 16384 (&ampgt;K:PROP_PITCH2_SET) } els{ (A:general eng2 throttle lever position,percent) 90 &ampgt; (A:general eng2 propeller lever position, percent) 0 &ampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:Airspeed true,knots) 25 &ampgt; (A:Airspeed true,knots) 140 &amplt; (A:ENG2 TORQUE, ft-lbs) 499 &ampgt; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; if{ 11960 (&ampgt;K:PROP_PITCH2_SET) } els{ (A:general eng2 throttle lever position,percent) 68 &ampgt; (A:general eng2 propeller lever position, percent) 0 &ampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:Sim on ground, bool) 1 &amplt; (A:ENG2 TORQUE, ft-lbs) 499 &ampgt; (A:Airspeed true,knots) 139 &ampgt; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; if{ (A:general eng2 throttle lever position,percent) 95.07 / 16384 * (&ampgt;K:PROP_PITCH2_SET) } els{ (A:general eng2 throttle lever position,percent) 69 &amplt; (A:general eng2 propeller lever position, percent) 0 &ampgt; (L:No2_HP_Cock, number) 1 &amplt; (A:Sim on ground, bool) 1 &amplt; (A:ENG2 TORQUE, ft-lbs) 499 &ampgt; (A:Airspeed true,knots) 139 &ampgt; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; &ampamp;&ampamp; if{ 11957 (&ampgt;K:PROP_PITCH2_SET) } } } } &ltMouse> &ltTooltip&gtNo2 RPM Thanks.Dave.

Hi.I guess I didn't make myself as clear as I should have.I have tried all kinds of options in the tooltip box such as:No1RPM ((L:GENERAL ENG1 RPM number) 0 max 20000 min)No1RPM ((L:No1_Turbine_RPM, number) 0 max 20000 min)No1RPM ((L:No1_Turbine_RPM, number)-7520 max 9390 min)and so on, with no luck.I just posted the gauge xml "as is". Dave.

  • Commercial Member

Well, I don't do XML but a couple things I see:1) You're calling GENERAL ENG1 RPM as an L var not an A var, it's an A var.2) You're requesting it as a number here, but above as RPM.3) You're setting max value to 0 and min value 20000, is that correct?4) Would it be better to use the format within the tooltip to construct a display string?

Ed Wilson

Mindstar Aviation
My Playland - I69

  • 3 weeks later...

Try this code: %Engine RPM %((A:General eng rpm:1,RPM))%!d!%The whole tooltip all in one line of course.Herbert

  • Author

Hi,Or(from the SDK):or Propeller 1 RPM %((A:PROP1 RPM, rpm))%!d! RPMHope it helps,Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

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.