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. Piston & Turbine Dukes
  6. Duke Lvar Values Not Correct

Duke Lvar Values Not Correct

Scheduled Pinned Locked Moved Piston & Turbine Dukes
25 Posts 9 Posters 1.7k Views 3 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.
  • Black SquareB Offline
    Black SquareB Offline
    Black Square
    Black Square Developer
    wrote on last edited by
    #12

    Ah yes, I recall hitting that issue with the PMS50 too. I wish there was an easier solution, but simply writing the aircraft's current pitch to the pitch knob should solve the problem:

    (A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob, number)
    
    1 Reply Last reply
    0
    • E e4rthdog

      @Black-Square said in Duke Lvar Values Not Correct:

      Delightful! Thanks for responding so that others with the same question will be able to search for this. I'm glad that's all it was!

      One thing more. I was in flight and using K:AP_ALT_HOLD switched to ATT but it started ascending fast. I suppose i have to use another event also to just center the ATT wheel? When i press the ATT button it doesn't behave like this. It is centered.

      A Offline
      A Offline
      Avionic
      wrote on last edited by
      #13

      @e4rthdog Using Mobiflight I have a line saying "(A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob)" in order to get the pitch wheel to go to current pitch just like it does, when you click the physical button.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        e4rthdog
        wrote on last edited by
        #14

        Thanks! I need to find out if i can do that in FSUIPC or i need to switch the profile from fsuipc to mobiflight

        1 Reply Last reply
        0
        • E Offline
          E Offline
          e4rthdog
          wrote on last edited by e4rthdog
          #15

          Thanks it worked.

          For anyone wondering how to do this in FSUIPC:

          Page 49 of the advanced FSUIPC manual:

          • Create a file myevents.txt in the fsuipc directory

          • Create a profile entry there like this:

          duke-att-wheel-rst#(A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob, number)
          

          bind the duke-att-wheel-rst preset to the button you like.

          I assign the AP_ALT_HOLD to the press event of the button and the duke-att-wheel-rst preset to the release of the same button. In that way the AP goes to ATT mode at the current pitch.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Russos
            wrote on last edited by
            #16

            Hello! I can’t understand how Left/Right Landing Light works

            B:LIGHTING_LANDING_1_Toggle - is this a button to toggle?
            (1 K:LANDING_LIGHTS_SET) - is this for the toggle switch? But what does the number 1 (or 2) before the letter K mean? There seems to be no such syntax in Mobileflight.

            Thank you!

            RandolfR 1 Reply Last reply
            0
            • R Russos

              Hello! I can’t understand how Left/Right Landing Light works

              B:LIGHTING_LANDING_1_Toggle - is this a button to toggle?
              (1 K:LANDING_LIGHTS_SET) - is this for the toggle switch? But what does the number 1 (or 2) before the letter K mean? There seems to be no such syntax in Mobileflight.

              Thank you!

              RandolfR Offline
              RandolfR Offline
              Randolf
              wrote on last edited by
              #17

              @Russos
              K:LANDING_LIGHTS_SET is the name of the event, and you should call it with parameter 0 for both OFF and 2 for ON.
              If you want to control them separately, you'll need to use the B events.

              S 1 Reply Last reply
              0
              • R Offline
                R Offline
                Russos
                wrote on last edited by Russos
                #18

                Thank you!
                Then I don't really understand the B event syntax for separate control for toggle switch

                1 Reply Last reply
                0
                • RandolfR Randolf

                  @Russos
                  K:LANDING_LIGHTS_SET is the name of the event, and you should call it with parameter 0 for both OFF and 2 for ON.
                  If you want to control them separately, you'll need to use the B events.

                  S Offline
                  S Offline
                  SMN204
                  wrote on last edited by SMN204
                  #19

                  @Randolf said in Duke Lvar Values Not Correct:

                  K:LANDING_LIGHTS_SET is the name of the event, and you should call it with parameter 0 for both OFF and 2 for ON.
                  If you want to control them separately, you'll need to use the B events.

                  I need one switch for both (left and right) for FSUIPC
                  I wrote it like this... probably wrong 😞 Not work

                  LandingLightOn# (2K:LANDING_LIGHTS_SET)
                  LandingLightOff# (0K:LANDING_LIGHTS_SET)

                  Can you tell me how to write a correctly?

                  RandolfR 1 Reply Last reply
                  0
                  • S SMN204

                    @Randolf said in Duke Lvar Values Not Correct:

                    K:LANDING_LIGHTS_SET is the name of the event, and you should call it with parameter 0 for both OFF and 2 for ON.
                    If you want to control them separately, you'll need to use the B events.

                    I need one switch for both (left and right) for FSUIPC
                    I wrote it like this... probably wrong 😞 Not work

                    LandingLightOn# (2K:LANDING_LIGHTS_SET)
                    LandingLightOff# (0K:LANDING_LIGHTS_SET)

                    Can you tell me how to write a correctly?

                    RandolfR Offline
                    RandolfR Offline
                    Randolf
                    wrote on last edited by
                    #20

                    @SMN204 don't have FSUIPC here to test, but try this:

                    LandingLightOn#2 (>K:LANDING_LIGHTS_SET)

                    LandingLightOff#0 (>K:LANDING_LIGHTS_SET)

                    S 1 Reply Last reply
                    1
                    • RandolfR Randolf

                      @SMN204 don't have FSUIPC here to test, but try this:

                      LandingLightOn#2 (>K:LANDING_LIGHTS_SET)

                      LandingLightOff#0 (>K:LANDING_LIGHTS_SET)

                      S Offline
                      S Offline
                      SMN204
                      wrote on last edited by
                      #21

                      @Randolf said in Duke Lvar Values Not Correct:

                      @SMN204 don't have FSUIPC here to test, but try this:

                      LandingLightOn#2 (>K:LANDING_LIGHTS_SET)

                      LandingLightOff#0 (>K:LANDING_LIGHTS_SET)

                      It's working! Thank you!

                      1 Reply Last reply
                      0
                      • Rolo BachR Offline
                        Rolo BachR Offline
                        Rolo Bach
                        wrote on last edited by
                        #22

                        Can't find on the manual any Lvar to set external power and heater. May be posted here?
                        Thanks.

                        hangar_101H 2 Replies Last reply
                        0
                        • Rolo BachR Rolo Bach

                          Can't find on the manual any Lvar to set external power and heater. May be posted here?
                          Thanks.

                          hangar_101H Offline
                          hangar_101H Offline
                          hangar_101
                          wrote on last edited by
                          #23

                          @Rolo-Bach here as I have it done using spad.next for External Power - it's mapped to a StreamDeck button

                          External Power On

                          4e84eaf0-fc8b-4792-adea-70cf309715f7-image.png

                          External Power Off

                          cbf495d9-f3ef-4a9c-b3b1-df35f74b9bdb-image.png

                          StreamDeck example

                          2c8fc741-aa11-464c-8e87-138f8f3be8f7-image.png

                          Hangar 101

                          1 Reply Last reply
                          0
                          • Rolo BachR Rolo Bach

                            Can't find on the manual any Lvar to set external power and heater. May be posted here?
                            Thanks.

                            hangar_101H Offline
                            hangar_101H Offline
                            hangar_101
                            wrote on last edited by
                            #24

                            @Rolo-Bach for the Heater the LVAR:bksq_PreHeater will do the job (0 = OFF, 1 = ON)

                            Hangar 101

                            1 Reply Last reply
                            0
                            • Rolo BachR Offline
                              Rolo BachR Offline
                              Rolo Bach
                              wrote on last edited by
                              #25

                              Many 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