Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Steam Gauge Overhaul
  6. Help assigning hardware buttons for NAV/GPS/RNAV and APR/ARM in Bonanza

Help assigning hardware buttons for NAV/GPS/RNAV and APR/ARM in Bonanza

Scheduled Pinned Locked Moved Steam Gauge Overhaul
7 Posts 2 Posters 201 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DrZGardD Offline
    DrZGardD Offline
    DrZGard
    wrote on last edited by
    #1

    The pushbuttons in the upper left corner of the Bonanza used for switching the autopilot signal between NAV/GPS or NAV/RNAV and the APR ARM are giving me difficulty finding the correct variable so I can assign them. Most recent attempt using what I found in the xml file was: "KNS81_NAV_RNAV_GPS# (>L:var_radio1Mode, number) 2 == (A:GPS DRIVES NAV1, Bool)" It does not seem to have any effect on the switch but it does switch out the radio panel for the GTN when I have the KX radios and KNS only installed.

    Could someone help providing the correct coding so I can use my hardware to control rather than mouseclicks please?

    1 Reply Last reply
    0
    • Black SquareB Offline
      Black SquareB Offline
      Black Square
      Black Square Developer
      wrote on last edited by
      #2

      Do I understand correctly that you are just looking to emulate pressing the "NAV/GPS" autopilot source select button? If so, all that should be necessary is >K:TOGGLE_GPS_DRIVES_NAV1.

      DrZGardD 1 Reply Last reply
      0
      • Black SquareB Black Square

        Do I understand correctly that you are just looking to emulate pressing the "NAV/GPS" autopilot source select button? If so, all that should be necessary is >K:TOGGLE_GPS_DRIVES_NAV1.

        DrZGardD Offline
        DrZGardD Offline
        DrZGard
        wrote on last edited by
        #3

        @Black-Square
        I thought there would be another coding for when using the KNS81 only panel since the switch says NAV/RNAV instead of NAV/GPS but I did discover the existing coding for the GPS switch worked. I still haven't found the coding to arm the approach. I do have it working in the Duke though.
        I also am working with using one of the knobs I have for the DME, I find the cw and ccw coding works to switch between off, nav1, hld, nav2 but it won't turn cw to the RNAV position. If you have placed the switch in the RNAV position with the mouse you can use the ccw command to switch it out of RNAV to NAV2... curious.

        1 Reply Last reply
        0
        • Black SquareB Offline
          Black SquareB Offline
          Black Square
          Black Square Developer
          wrote on last edited by
          #4

          The approach arming mode actually does nothing in any of my aircraft prior to my incorporating the KLN-90B and the MD-41 mode control panel. The KNS-81 has a separate approach mode triggered by rotating the mode knob, as I'm sure you already know. For the DME, you might just be using some old code from aircraft that didn't have the RNAV display option, like the Analog Caravan. If your code has something like...
          (L:var_dmeMode, number) 3 < if{ (L:var_dmeMode, number) 1 + (>L:var_dmeMode, number) }
          then, add one more increment to it by changing that line to...
          (L:var_dmeMode, number) 4 < if{ (L:var_dmeMode, number) 1 + (>L:var_dmeMode, number) }
          If that's not what your code looks like, please send me a screenshot, and I should be able to tell you what to do.

          1 Reply Last reply
          1
          • DrZGardD Offline
            DrZGardD Offline
            DrZGard
            wrote on last edited by
            #5

            Ah... I was using one of the events FSUIPC has listed for the TBM850 DME and it has the coding to 3 rather than 4. I made a myevent code copying the xml for the Bonanza and will test now.

            1 Reply Last reply
            0
            • DrZGardD Offline
              DrZGardD Offline
              DrZGard
              wrote on last edited by
              #6

              Works now with this coding:
              // BS KDI572
              BS_KDI572_DME_Mode_Turn_Ccw#(L:var_dmeMode, Number) 1 - 0 max s0 (>L:var_dmeMode, Number) l0 0 == if{ 1 (>H:dmeMode0) } l0 1 == if{ 1 (>H:dmeMode1) } l0 2 == if{ 1 (>H:dmeMode2) } l0 3 == if{ 1 (>H:dmeMode3) } l0 4 == if{ 1 (>H:dmeMode4) }
              BS_KDI572_DME_Mode_Turn_Cw#(L:var_dmeMode, Number) 1 + 4 min s0 (>L:var_dmeMode, Number) l0 0 == if{ 1 (>H:dmeMode0) } l0 1 == if{ 1 (>H:dmeMode1) } l0 2 == if{ 1 (>H:dmeMode2) } l0 3 == if{ 1 (>H:dmeMode3) } l0 4 == if{ 1 (>H:dmeMode4) }

              Just added an additional section for mode 4.

              1 Reply Last reply
              0
              • Black SquareB Offline
                Black SquareB Offline
                Black Square
                Black Square Developer
                wrote on last edited by
                #7

                Excellent. Glad it's working. Let me know if there's anything else I can do for you!

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users