• Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum

Duke Lvar Values Not Correct

Scheduled Pinned Locked Moved Piston & Turbine Dukes
25 Posts 9 Posters 1.4k Views
    • 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.
  • E Offline
    E Offline
    e4rthdog
    wrote on last edited by
    #3

    There is also something going on with the AP_PITCH_LEVELER_ON Instead of turning on the ATT it turns on the GA mode. I saw a solution for spad.next but it would be nice to have it working as a toggle event and just assign it to a button.

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

    I know why it thinks it's in Go-Around mode (when no other vertical mode is selected, it has to assume GA mode, because the SimVar for go around mode doesn't work correctly...), but AP_PITCH_LEVELER_ON should definitely work. That's the same event that's triggered when you click on the attitude button in the virtual cockpit.

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    e4rthdog
    replied to Black Square on last edited by
    #5

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

    I know why it thinks it's in Go-Around mode (when no other vertical mode is selected, it has to assume GA mode, because the SimVar for go around mode doesn't work correctly...), but AP_PITCH_LEVELER_ON should definitely work. That's the same event that's triggered when you click on the attitude button in the virtual cockpit.

    I've tested it in FSUIPC and in Mobiflight and by just using the var goes to GA.. but just calling AP_PITCH_LEVELER_ON not passign any value or doing anything else.

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

    I just tried it here with the command in the MSFS controls settings, and it indicates attitude holding mode as expected. Have you tried it with the native control assignments menu? I would FSUIPC and Mobiflight to behave exactly the same, but if it works from within the simulator, then we know that something strange is going on. Do you know what the suggested solution in Spad.next is? That might give me a hint.

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    e4rthdog
    replied to Black Square on last edited by
    #7

    @Black-Square I will try from native.

    Take alook here in this post in this forum: ATT SPAD

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

    Thanks for the link. Oooh, are you using the PMS50 GTN when you try this? I see in my code that the PMS50 won't work with the pitch leveler command, and I used "K:AP_ALT_HOLD" instead.

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    e4rthdog
    replied to Black Square on last edited by
    #9

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

    Thanks for the link. Oooh, are you using the PMS50 GTN when you try this? I see in my code that the PMS50 won't work with the pitch leveler command, and I used "K:AP_ALT_HOLD" instead.

    That was it! Thanks.

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

    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!

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    e4rthdog
    replied to Black Square on last edited by e4rthdog
    #11

    @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 1 Reply Last reply
    0
  • 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
  • A Offline
    A Offline
    Avionic
    replied to e4rthdog 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
  • RandolfR Offline
    RandolfR Offline
    Randolf
    replied to Russos 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
  • S Offline
    S Offline
    SMN204
    replied to Randolf 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
  • RandolfR Offline
    RandolfR Offline
    Randolf
    replied to SMN204 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
  • S Offline
    S Offline
    SMN204
    replied to Randolf 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

  • Login

  • Don't have an account? Register

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