Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. RJ Professional
  5. How to bind TRP controls?

How to bind TRP controls?

Scheduled Pinned Locked Moved RJ Professional
5 Posts 3 Posters 46 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.
  • VillajotaV Offline
    VillajotaV Offline
    Villajota
    wrote last edited by
    #1

    Hi, is there a way to bind the TRP knobs and buttons to hardware via AAO scripts? I think I've found variables that can read the values, but I'm afraid they're not settable.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PHB
      wrote last edited by
      #2

      Hi, See this post. It works for me, many thanks to Mark.
      https://community.justflight.com/topic/9892/how-to-bind-the-transpondermodeknob

      1 Reply Last reply
      0
      • VillajotaV Offline
        VillajotaV Offline
        Villajota
        wrote last edited by
        #3

        Thanks, @PHB, but the TRP uses another set of variables (in fact there are a lot of variables related to TRP) and I've tested several and none seem to be settable.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gazdav787
          wrote last edited by
          #4

          Hi Villajota,

          It's possible .... I use my own C# program to set the values (using LVars and SimConnect) - never used hardware, so this morning I tried to see if I could roughly do the same using SPAD.neXt (I don't have AAO) and my WinCtrl (WinWing) 777 FMC unit, and looks like it can be done, so hopefully the following may help you and set you in the right direction.

          The R_TRP_Knob_outer LVar turns the switch to N1 , TEMP , V1 , V_CROSS and V_DOT positions. Values are 0 -> 4. In SPAD.neXt, I set an event so that when the "Prev Page" button is pressed it decreases the value of R_TRP_Knob_outer by one and likewise for the "Next Page" button event, each press increases the value of R_TRP_Knob_outer by one. (Spad.Next allows me to set min/max values for these events so that I can ensure that the values can't go below 0 or above 4).

          Next step was to set up two different buttons to change the values of the TRP display using the R_TRP_Knob_inner_dec and R_TRP_Knob_inner_inc LVars.

          Using the . and +/- buttons on the WinCtrl FMC unit, the . button press event was set up so that for each press I write a value of 1 to the R_TRP_Knob_inner_dec Lvar and the +- button event set up so that a value of 1 is written to the R_TRP_Knob_inner_inc Lvar. This results in the value in the TRP decreasing for each press of the . button and increasing for each press of the +- button. The value that changes is governed by the position of the R_TRP_Knob_outer knob.

          Using the above method, I've been able to change the Temp and the V1 , V_CROSS and V_DOT values, using my FMC hardware unit.

          1 Reply Last reply
          0
          • VillajotaV Offline
            VillajotaV Offline
            Villajota
            wrote last edited by
            #5

            Thank you, @gazdav787 , you've given me the clue I needed! Besides those variables, I've identified these ones:

            1. The buttons can be toggled using R_TRP_Climb, R_TRP_MCT, R_TRP_TOGA and R_Mstr_Climb. Send a 1 to those values and button will change state if it's possible.

            2. State of the buttons can be read using R_TRP_TOGA_redu_il1, R_TRP_TOGA_redu_il2, R_TRP_TOGA_redu_il1, R_TRP_Mstr_eng1_il1, R_TRP_Mstr_eng2_il1, R_TRP_MCT_il1, R_TRP_Climb_norm_il1 and R_TRP_Climb_max_il1. Each variable maps to a different state.

            3. Value of the display can be read using JF_RJ_TRP_Display_Value.

            Thanks!

            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