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.

GPS GPS/AUTO switching

Featured Replies

Hello all,

 

I use the cad_sn3308.gau as my HSI. With this instrument you can switch between VOR1/ILS VOR2, GPS and GPS/AUTO. When switched to GPS you can manually step through your waypoints (steerpoint) of your flightplan (.pln) and does nothing to my secondary HSI. In GPS/AUTO this will be done automatically and advances through your waypoints along the flight and sets autopilot to the correct course and switches my secondary HSI to follow the primary HSI automatically.

 

Since i only want to use my secondary HSI (which i designed myself) i want to make a switch that switches automatically to this GPS/AUTO function. Since the cad_sn3308.gau is a gauge file, I can't open it to see how this instrument does switches between GPS and GPS/AUTO mode. I've tried via (A:GPS drives NAV1) and TOGGLE_GPS_DRIVES_NAV1 but did't work. Probably simple but can't find the right statement for this. Please help me out?

 

Greetings Slammer

Hi,

 

Try:

 

(A:GPS DRIVES NAV1,bool) !
if{ (>K:TOGGLE_GPS_DRIVES_NAV1) (>K:AP_NAV1_HOLD_ON) }
els{
(A:GPS DRIVES NAV1,bool)
if{ (>K:TOGGLE_GPS_DRIVES_NAV1) (>K:AP_NAV1_HOLD_OFF) }
}

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Jan,

 

Thanks for your reply but this switch only switches on the AP an NAV Hold whereis the NAV/GPS button blinks momentarily from NAV to GPS and settles at NAV again. In the HSI gauge i mentioned above when in GPS/AUTO only sends course from flightplan to AP but does not activate AP. The secondary HSI follows the primary HSI.

 

Hope you have an other option?

 

Slammer

  • 3 weeks later...
  • Author

Jan,

 

I've found the right statement for this problem. It should be (A:GPS WP DESIRED TRACK, degrees) as the following code shows.

 

<!-- HSI ILS/NAV MODE -->
 <Element>
   <Visible>(L:AVCS-UFC,bool) 1 == (L:HSI-MODE,enum) 3 == & (L:ILS Switch, bool) 0 == &&</Visible>
   <Position X="173" Y="6"/>
   <Text X="62" Y="20" Bright="Yes" Length="3" Font="arial" Color="#ffffff" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No">
 <String>%((A:NAV1 OBS,degrees))%!03d!</String>
   </Text>
  </Element>

 <Element>
   <Visible>(L:AVCS-UFC,bool) 1 == (L:HSI-MODE,enum) 3 == & (L:ILS Switch, bool) 1 == &&</Visible>
   <Position X="173" Y="6"/>
   <Text X="62" Y="20" Bright="Yes" Length="3" Font="arial" Color="#ffffff" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No">
 <String>%((A:GPS WP DESIRED TRACK, degrees))%!03d!</String>
   </Text>
  </Element>

 

Slammer

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.