Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. F28 Professional
  5. Here is an easy way to find LVAR's

Here is an easy way to find LVAR's

Scheduled Pinned Locked Moved F28 Professional
8 Posts 4 Posters 1.9k 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.
  • Lobster404L Offline
    Lobster404L Offline
    Lobster404
    wrote on last edited by
    #1

    I have seen a number of posts from people asking about lists of LVAR's. You can easily get a complete list by poking around in your MSFS user folder. First start a new freeflight in the F28. (Do not load a pre-saved flight.) After the sim has loaded and you're sitting cold and dark at a gate, exit out of the sim and close MSFS altogether.

    Then for Steam installs, navigate to the folder:

    C:\Users\YOURNAME\AppData\Roaming\Microsoft Flight Simulator\

    Or for MS Store I believe the folder is:

    C:\Users\YOURNAME\Appdata\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\

    where YOURNAME is your Windows login.

    Open the file:

    TemporaryFlight.Flt

    using Notepad, Notepad++, or any text editor. It should have a file modified date of just now since it was just saved by the sim. Scroll down to the section with the title:

    [LocalVars.0]

    and you will see a list of every LVAR that loaded in your last flight. Mine just now had 1153 entries. This won't tell you what the variables do but it is still a treasure chest of information. (Some are misnamed, like engine anti-ice test that isn't actually test, but close enough--you'll figure it out.)

    Save that file somewhere safe, switch to a different plane, repeat, now you have that other plane's LVAR's too. Enjoy.

    Thousands of rows of like this...

    F28_LWR_FWD_RADAR_Tilt_knob=15
    F28_LWR_FWD_RADAR_Gain_knob=6
    F28_LWR_FWD_RADAR_Int_knob=8
    F28_LWR_FWD_RADAR_OFF_Button=1
    F28_LWR_FWD_RADAR_WX_Button=0
    F28_OH_PUSH_TO_ROTATE_LIGHT_9_Light=0
    F28_LWR_FWD_RADAR_CYC_Button=0
    F28_LWR_FWD_RADAR_MAP_Button=0
    F28_apu_rpm=0
    F28_PED_Gaurd_LIFT-DUMPER-Switch=0
    F28_OH_ENG-MAIN_Toggle_Switch=0
    F28_OH_ENG-MAIN-1-RELIGHT_Toggle_Switch=1
    F28_MAIN-Gauge_CHRONO_1_Hrs_Rotary_Dial=4.0298949999999997829
    F28_LWR_FWD_Gauge-FUEL-QTY-MAIN_Rotary_Dial=0
    F28_MAIN-Gauge_ALT_2_Small_8_Rolling_Numbers=5
    F28_LWR_FWD_Gauge-FUEL-QTY-LEFT_Rotary_Dial=11.831373214721679688
    F28_MAIN-Gauge_HSI_2_Outter_Pivot1=9.1507368087768554688
    F28_MAIN-Gauge_ADI_1_Speed_Flag=1
    L_ASI_Speed_bug=140
    R_ASI_Speed_bug=140
    FSDT_GSX_NUMPASSENGERS=65
    F28_ADF_Freq_Output=1.8999999999999999112
    F28_ADF2_freq_tooltip=190
    EXT_Door_stairs=0
    F28_TCAS_range_tooltip=20

    R 1 Reply Last reply
    0
    • C Offline
      C Offline
      CaptKornDog
      wrote last edited by
      #2

      Hi everyone, on the subject of LVARs and searching for them - I've been having some trouble understanding/identifying the LVARs associated with the new altitude preselect panel (and alerter/capture). Trying to map the behavior to some buttons on my Winwing FCU. Anyone successfully cracked the code on that system by chance?

      Thanks.

      R 1 Reply Last reply
      0
      • C CaptKornDog

        Hi everyone, on the subject of LVARs and searching for them - I've been having some trouble understanding/identifying the LVARs associated with the new altitude preselect panel (and alerter/capture). Trying to map the behavior to some buttons on my Winwing FCU. Anyone successfully cracked the code on that system by chance?

        Thanks.

        R Offline
        R Offline
        RPGamerous
        wrote last edited by
        #3

        @CaptKornDog I hope you get a response to this, because I've been trying to figure it out too. Everything I find through dev mode tools/debugging or Axis and Ohs watching sim events doesn't work.

        C 1 Reply Last reply
        1
        • R RPGamerous

          @CaptKornDog I hope you get a response to this, because I've been trying to figure it out too. Everything I find through dev mode tools/debugging or Axis and Ohs watching sim events doesn't work.

          C Offline
          C Offline
          CaptKornDog
          wrote last edited by
          #4

          @RPGamerous Thanks. That's what I'm seeing as well.

          Tried to use "LVAR: F28_Alt_Sel" most recently with no success.

          1 Reply Last reply
          0
          • Lobster404L Lobster404

            I have seen a number of posts from people asking about lists of LVAR's. You can easily get a complete list by poking around in your MSFS user folder. First start a new freeflight in the F28. (Do not load a pre-saved flight.) After the sim has loaded and you're sitting cold and dark at a gate, exit out of the sim and close MSFS altogether.

            Then for Steam installs, navigate to the folder:

            C:\Users\YOURNAME\AppData\Roaming\Microsoft Flight Simulator\

            Or for MS Store I believe the folder is:

            C:\Users\YOURNAME\Appdata\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\

            where YOURNAME is your Windows login.

            Open the file:

            TemporaryFlight.Flt

            using Notepad, Notepad++, or any text editor. It should have a file modified date of just now since it was just saved by the sim. Scroll down to the section with the title:

            [LocalVars.0]

            and you will see a list of every LVAR that loaded in your last flight. Mine just now had 1153 entries. This won't tell you what the variables do but it is still a treasure chest of information. (Some are misnamed, like engine anti-ice test that isn't actually test, but close enough--you'll figure it out.)

            Save that file somewhere safe, switch to a different plane, repeat, now you have that other plane's LVAR's too. Enjoy.

            Thousands of rows of like this...

            F28_LWR_FWD_RADAR_Tilt_knob=15
            F28_LWR_FWD_RADAR_Gain_knob=6
            F28_LWR_FWD_RADAR_Int_knob=8
            F28_LWR_FWD_RADAR_OFF_Button=1
            F28_LWR_FWD_RADAR_WX_Button=0
            F28_OH_PUSH_TO_ROTATE_LIGHT_9_Light=0
            F28_LWR_FWD_RADAR_CYC_Button=0
            F28_LWR_FWD_RADAR_MAP_Button=0
            F28_apu_rpm=0
            F28_PED_Gaurd_LIFT-DUMPER-Switch=0
            F28_OH_ENG-MAIN_Toggle_Switch=0
            F28_OH_ENG-MAIN-1-RELIGHT_Toggle_Switch=1
            F28_MAIN-Gauge_CHRONO_1_Hrs_Rotary_Dial=4.0298949999999997829
            F28_LWR_FWD_Gauge-FUEL-QTY-MAIN_Rotary_Dial=0
            F28_MAIN-Gauge_ALT_2_Small_8_Rolling_Numbers=5
            F28_LWR_FWD_Gauge-FUEL-QTY-LEFT_Rotary_Dial=11.831373214721679688
            F28_MAIN-Gauge_HSI_2_Outter_Pivot1=9.1507368087768554688
            F28_MAIN-Gauge_ADI_1_Speed_Flag=1
            L_ASI_Speed_bug=140
            R_ASI_Speed_bug=140
            FSDT_GSX_NUMPASSENGERS=65
            F28_ADF_Freq_Output=1.8999999999999999112
            F28_ADF2_freq_tooltip=190
            EXT_Door_stairs=0
            F28_TCAS_range_tooltip=20

            R Offline
            R Offline
            RPGamerous
            wrote last edited by
            #5

            @Lobster404 This is a great tip! I tried to use it in 2020 (the file doesn't exist in 2024) but unfortunately, my 2020 installation has the bug that causes the sim to hang on Quit to Desktop, so it never writes the file because I have to kill it through the task manager. But if that ever gets fixed, I'll definitely make use of this technique.

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

              Hi both. I'm not sure if I can help directly (I don't use hardware, I just use my own C# program) but I am able to set up the altitude preselect panel using my own code. To change the selected altitude I use the AP_ALT_SEL_INC and AP_ALT_SEL_DEC LVARs. By writing a value of 1 to the desired LVAR will change the selected altitude readout by +/- 100ft. I do this in a loop whilst also checking the set altitude (by reading the values of AP_ALT_SEL_NUMBERS_10000 , AP_ALT_SEL_NUMBERS_1000 and AP_ALT_SEL_NUMBERS_100) until the selected altitude readout matches my desired altitude.

              R 1 Reply Last reply
              1
              • G gazdav787

                Hi both. I'm not sure if I can help directly (I don't use hardware, I just use my own C# program) but I am able to set up the altitude preselect panel using my own code. To change the selected altitude I use the AP_ALT_SEL_INC and AP_ALT_SEL_DEC LVARs. By writing a value of 1 to the desired LVAR will change the selected altitude readout by +/- 100ft. I do this in a loop whilst also checking the set altitude (by reading the values of AP_ALT_SEL_NUMBERS_10000 , AP_ALT_SEL_NUMBERS_1000 and AP_ALT_SEL_NUMBERS_100) until the selected altitude readout matches my desired altitude.

                R Offline
                R Offline
                RPGamerous
                wrote last edited by
                #7

                @gazdav787 Hey, thanks for this post. I've already tried passing AP_ALT_SEL_INC / DEC in Axis and Ohs to no avail, having discovered them through the options->behaviors menu. Maybe if I wanted to get as deep as scripting I could make it work, but I don't really feel like going that route so I guess I'll just use the old-fashioned point-and-scroll with the mouse method lol

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  CaptKornDog
                  wrote last edited by
                  #8

                  I'm also curious how some buttons are programmed; for instance, the vertical speed preselector button. I've been able to identify these 4 LVARs but am unsure how (or what order) to bind them for the button push.

                  LVAR:AP_PRESELECT_4_BUTTON
                  LVAR:AP_PRESELECT_4_BUTTON_IsDown
                  LVAR:AP_PRESELECT_4_BUTTON_LeftLeaveToRun
                  LVAR:AP_PRESELECT_4_BUTTON_MinReleaseTime

                  Do I just send a "1" to LVAR:AP_PRESELECT_4_BUTTON to enable it; and the other LVARs associated are animation related, or something else?

                  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