Jump to content

EHSI / GTN TTG readout added


Bert Pieke

Recommended Posts

Posted

The TTG (Time to Go to next waypoint) can be added for the GTN equipped SF340.

You need to have my V4.1. mods installed.

Go to the panel folder, and find the EHSI xml file (in the GaugeHSISF34 folder)

Open this xml file with Notepad

1. Search for the first "Update" section, and insert the following Update section

before it:

<!--  (L:AP_NAV_SELECT_MODE) 0 == is used for NAV1 and GPS modes, 1== is used for NAV2  -->

<Update id="TTG calculation">
  <Script>

(A:GROUND VELOCITY, knots)  60 &lt; if{ 0 (>L:WP TTG, minutes) }

els{

	(L:AP_NAV_SELECT_MODE) 0 == if{
   		(A:GPS drives nav1, bool) if{ 
		(A:GPS WP DISTANCE, nmiles) (A:GROUND VELOCITY, knots) / 60 * near (>L:WP TTG, minutes) }
   		els{ (A:NAV1 DME, nmiles) (A:NAV1 DMESPEED, knots) / 60 * near (>L:WP TTG, minutes) } }
				
	els{ (A:NAV2 DME, nmiles) (A:NAV2 DMESPEED, knots) / 60 * near (>L:WP TTG, minutes) }

}
  </Script>
 </Update> 	

2. Search for "TTG Readout"

Replace

<GaugeString>%((A:GPS IS ACTIVE WAY POINT, bool))%{if}%((A:GPS WP ETE, hours) flr 100 %)%!02d!:%((A:GPS WP ETE, minutes) flr 60 %)%!02d!%{else}--:--%{end}</GaugeString>

by

<GaugeString> %((L:WP TTG, minutes))%!03d! </GaugeString>

Save the file and go fly!

 

 

Bert

Archived

This topic is now archived and is closed to further replies.

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...