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. Bonanza Professional
  6. L-vars for KR87 and KNS81

L-vars for KR87 and KNS81

Scheduled Pinned Locked Moved Bonanza Professional
1 Posts 1 Posters 2 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.
  • K Offline
    K Offline
    kbulus
    wrote last edited by
    #1

    Hi @Black-Square,

    I'm working on some external instrument displays (using Air Manager) for the Bonanza and saw the other recent post about adding L-vars for the KAS297B. I was wondering if it would be possible to similarly add some variables for the KNS81 RNAV and KR87 ADF units in order to support external displays.

    I've prototyped minor changes to add these variables:

    Variable Type Description
    L:var_kr87a_elapsedTime seconds The current value of the elapsed timer.
    L:var_kr87a_flightDuration minutes The current flight duration.
    L:var_kr87a_antMode bool Whether ANT mode is active.
    L:var_kr87a_bfoMode bool Whether BFO mode is active.
    L:var_kr87a_multiMode enum 0 = standby frequency, 1 = elapsed timer, 2 = flight timer
    L:var_rnavUseChannel number The currently in-use RNAV channel.
    L:var_rnavDisplayChannel number The currently displayed RNAV channel.
    L:var_rnavNavigationMode enum 0 = VOR, 1 = VOR/PAR, 2 = RNV, 3 = RNV/APR

    Together with the existing variables, these are sufficient to replicate the display state of the virtual cockpit's units on an external display. I'm not completely convinced about the addition of the L:var_kr87a_flightDuration variable, but the corresponding game variable is not accessible to SimConnect clients as far as I can tell, and I haven't been able to find an alternative that matches the value displayed on the KR87.

    I can provide the JS files (or diffs thereof) if you are at all interested in incorporating these changes.

    Thanks in advance for your time, and for the fantastic aircraft add-on!

    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