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.

Searching for Simple Numeric Machmeter Gauge File

Featured Replies

  • Commercial Member

Hello all,

 

I'm working on a small 2d panel mod and I'm wondering if anyone knows where I can find a simple, numeric Machmeter gauge file for FSX?  Digital or analog is fine, but prefer a small number display only, rather than a full round dial/needle gauge.  The only one I could find is compatible only for FS98-FS9 (FSX throws an incompatible flag).

 

Thanks!

 

 

Kyle Weber (Private Pilot, ASEL; Flight Test Engineer)
Check out my repaints and downloads, all right here on AVSIM

Here you go.

 

1. Copy the code below in it's entirety and paste into a blank .txt document.

2. Rename the new text document to SimpleMach.xml

3. Create a folder in FSX/Gauges called SimpleMach

4. Place the newly created SimpleMach.xml file into the newly created SimpleMach folder.

5. The panel syntax is -

 

gaugeXX=SimpleMach!SimpleMach, XX, YY, XX, YY

 

The native size is 30 x 15

 

Note - There are some user adjustment to suit. See comments in code.

<Gauge Name="Simple MACH Display" Version="1.0">
    
	<Comment> THE FOLLOWING MACROS ARE USER PREFERENCES, CHANGE VALUES TO SUIT</Comment>

	<!-- What bus is this attached to ? 0 = Avionics, 1 = Main, 2 = Battery, 3 = Hot Battery  4 = Always On-->
	<Macro Name="PWR">4</Macro>

	<!-- Min voltage for unit to run -->
	<Macro Name="MINPWR">12</Macro>

	<!-- Min MACH for unit to display MACH otherwise "dashes"  -->
	<Macro Name="MINMACH">0.40</Macro>

	<Comment> END USER PREFRENCES </Comment>                          


	<Macro Name="SBHOT">(A:Electrical Hot Battery Bus Voltage, Volts)</Macro>
	<Macro Name="SBATT">(A:Electrical Battery Bus Voltage, Volts)</Macro>
	<Macro Name="SMAIN">(A:Electrical Main Bus Voltage, Volts)</Macro>
	<Macro Name="SAVIO">(A:Electrical Avionics Bus Voltage, Volts)</Macro>
	<Macro Name="PWRAVAIL">@MINPWR @SBHOT @SBATT @SMAIN @SAVIO 5 @PWR case @MINPWR >=</Macro>


	<Element Name="POWER DERIVED DISPLAY">
	<Visible>@PWRAVAIL</Visible>
		<Element Name="DISPLAY">
		<Position X="0" Y="0"/>
			<!-- ADJUST TEXT FONTS, SIZE, COLOR etc HERE -->
			<FormattedText Bright="Yes" X="30" Y="15" FontSize="12" FontWeight="800" Length="4" Fixed="Yes" VerticalAlign="Center" Font="Quartz" BackgroundColor="Black" Color="White">
				<String>%((A:AIRSPEED MACH, mach) s1 @MINMACH <)%{if}%-.--%{else}%(l1)%!03.2f!%{end}%</String>
			</FormattedText>
		</Element>
	</Element>

	<Mouse>
		<Tooltip ID="">%MACH = %((A:AIRSPEED MACH, mach) s1 @MINMACH <)%{if}%-.--%{else}%( l1 )%!03.2f!%{end}%</Tooltip>
	</Mouse>

</Gauge>

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

 

  • Author
  • Commercial Member

Wow!  That is perfect, thank you so much!  I didn't expect someone to actually go out and code one for me from scratch (especially in less than a day).

 

Very much appreciated!!

Kyle Weber (Private Pilot, ASEL; Flight Test Engineer)
Check out my repaints and downloads, all right here on AVSIM

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.