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.

Resolving negative Prop RPM value in XML gauge

Featured Replies

I have a gauge on one of my aircraft that registers negative prop rpm. I have been able to get the gauge working but it seems to me that there is something else that I need to fix because I would think that I shouldn't have a negative value in the gauge. The digital readout shows a negative value but the analog dial will not function because it is expecting a positive value.

 

Is there a way I can use the abs function to get the digital display to display a positive value and also use the abs function in the needle portion to get that to work? That way if I ever have another aircraft that gives me a negative value I can still use this gauge.

 

But does anyone know why I would be getting a negative value in the first place? That might be what I really need to solve instead of just trying to get rid of the symptoms.

 

Any help would be greatly appriciated!

 

Jonathan

  • Author

I figured out how to use the abs function but would still like to know why the rpm is negative in the first place. Any ideas?

Since you mentioned Prop RPM and not Engine RPM an undocumented (since FS2002 SDKs) entry in the aircraft.cfg will do it. In the {propellor} section of the aircraft.cfg an entry of "rotation = 1"  will give clockwise rotation and positive RPMs while "rotation = -1" will give counter-clockwise rotation and negative RPMs - fully tested in an aircraft that has this entry.

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

 

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.