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.

Altitude Hold gauge

Featured Replies

Hi everyone,Does anyone know of a code for a "Altitude Hold gauge" so when pressed it will hold current altitude and not the one dialed in the window. I've tried:1. wing level - but it just levels the wings and I start to decent.2. altitude hold bool - just keeps climbing until altitude set in the window.3. altitude lock bool - same as aboveMaybe it's a combination of different gauges? If anyone has had anyluck with this please let me know.

You could try using the AP_PANEL_ALTITUDE_SET command to set the displayed altitude equal to the current altitude. Then use AP_PANEL_ALTITUDE_HOLD to hold the altitude you just set equal to the current altitude.Doug

OK, that won't work... AP_PANEL_ALTITUDE_SET just turns the altitude hold on. Have you tried AP_ALT_HOLD_ON ?Doug

Hi,(>K:AP_ALT_HOLD) toggles hold on and off (i think).Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Moderator

In C:if ( alt_select == 1 ) { trigger_key_event (KEY_AP_PANEL_ALTITUDE_HOLD,0) ; } if ( alt_select == 2 ) { trigger_key_event (KEY_AP_ALT_HOLD,0) ; } The first command will hold preset altitude.The second command will "capture and hold" current altitude.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Hi Bill, Thanks a whole bunch for the code in "C". I was going to ask if anybody knew it since I'm still having trouble with this combination in XML. Do you have this "C" formula in XML? If you or any others could help me I would greatly appreciate it.Cheers!!

Hi,You could always have a button that will set the current altitude value to the altitude hold value when clicked.Also, if you had the bird level, you could use (>K:ATT_HOLD_ON) to capture the current pitch. Or, say if pitch is equal to 0, then capture the indicated attitude.Random thoughts, I hope they're helpful!don

  • Author
  • Commercial Member

I use this to capture and hold the current baro altitude. Of course you can also use radar altitude with (A:Radio Height, feet).(A:Pressure Altitude, feet) (>K:AP_ALT_VAR_SET_ENGLISH) (>K:AP_PANEL_ALTITUDE_ON)If you want to get fancy you can also use an interrogator to trim the aircraft prior to setting altitude hold, but that's way beyond the scope of your original question.--Jon

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.