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.

XML in FS2K -- A test gauge

Featured Replies

I've learned a bit of XML; mainly to make FS2K2 test gauges. Unlike most XML gauges, my code is mostly calculations; only the digital data is written to the gauge window. I have figured out (with some ideas for other XML gauges): How to initialize constants How to 'strobe' code blocks once every N 'dos ticks'. How to calculate some fundamental aerodynamic parameters easily from FS 2K2 Parameters. Often easier than with 'token variables' used on C gauges. And, with some ideas from others, I have nearly finished accurate EPR/EGT code by prototyping it in XML RPN. EPR and EGT is still inaccurate in FS9. It should be simple to approximate EPR by coding "EPR = b + m*CN1" that will be much better than the FS EPR. I used a more complex fit, but started with the above. By using 'Corrected N1', temperature variations are accounted for. At least that approach worked for JT8D turbines, for which I have a large N1, N2, EGT vs EPR table. That will give a reasonable relationship between N1 and EPR, though N1 vs thrust has to be accurate for EPR to be accurate. EPR is very important for the jets that use it for setting power. I'm not aware of any accurate EPR display in Jet Transport panels. EPR typically runs 1.70 to 2.1 in cruise, depending on the turbine. This is the region it should be accurate. Though, landing may be around EPR = 1.3, so that region has some importance. Much more should be possible in FS 9 XML. Ron

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.