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. Baron Professional
  6. SEL and CTL buttons on CHRONOMETR

SEL and CTL buttons on CHRONOMETR

Scheduled Pinned Locked Moved Baron Professional
3 Posts 2 Posters 49 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.
  • L Offline
    L Offline
    LeoPilot
    wrote last edited by
    #1

    I can't configure my yoke with the SEL and CTL buttons on CHRONOMETR. I'm using MFS2020 and FSUIPS 7. Anyone have any ideas? How do I assign them? For example, is it possible to write a script and what data should I use?

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

      The two buttons increment two variables that hold the state of the chronometer. The SEL button increments L:var_yokeChronoMode_L, while CTL increments L:var_yokeTimerMode_L. You will need these variables to wrap from 0-2, which is usually achieved with a modulo operator (percent sign). If your scripts are in RPN, they will look like this:

      (L:var_yokeChronoMode_L, number) 1 + 3 % (>L:var_yokeChronoMode_L, number)
      
      (L:var_yokeTimerMode_L, number) 1 + 3 % (>L:var_yokeTimerMode_L, number)
      

      I hope that helps! Let me know if you have any questions.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LeoPilot
        wrote last edited by
        #3

        Yes, it worked, thank you very much for the quick response! I'm building a homemade Baron cockpit, and I always have trouble assigning buttons on my device in Baron. Could you tell me how I can find the required code and parameters for the script using MFS2020 and FSUIP7? I saw a table with Lvar and other values ​​in the manual, but I don't understand how to use them. For example, I just copied your lines, ipc.execCalcCode("(L:var_yokeTimerMode_L, number) 1 + 3 % (>L:var_yokeTimerMode_L, number)") saved it as a LUA file, and assigned it to FSUIPS. Can I do this with any button? For example, the CWS button on the yoke—I can't find it in the commands... and what does it turn on and off? The CTR and SEL buttons work, but they don't visually click in the cockpit... Sorry for the many questions, but I doubt anyone else can help except you, as the author of this wonderful model.

        ![alt text] https://ru.files.fm/f/tdkjxcw8jc(image url)

        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