<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[L-vars for KR87 and KNS81]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/black-square">@<bdi>Black-Square</bdi></a>,</p>
<p dir="auto">I'm working on some external instrument displays (using Air Manager) for the Bonanza and saw the <a href="https://community.justflight.com/topic/10489/extra-lvars-for-the-bonanza-s-kas297b">other recent post</a> 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.</p>
<p dir="auto">I've prototyped minor changes to add these variables:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Variable</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>L:var_kr87a_elapsedTime</code></td>
<td>seconds</td>
<td>The current value of the elapsed timer.</td>
</tr>
<tr>
<td><code>L:var_kr87a_flightDuration</code></td>
<td>minutes</td>
<td>The current flight duration.</td>
</tr>
<tr>
<td><code>L:var_kr87a_antMode</code></td>
<td>bool</td>
<td>Whether ANT mode is active.</td>
</tr>
<tr>
<td><code>L:var_kr87a_bfoMode</code></td>
<td>bool</td>
<td>Whether BFO mode is active.</td>
</tr>
<tr>
<td><code>L:var_kr87a_multiMode</code></td>
<td>enum</td>
<td>0 = standby frequency, 1 = elapsed timer, 2 = flight timer</td>
</tr>
<tr>
<td><code>L:var_rnavUseChannel</code></td>
<td>number</td>
<td>The currently in-use RNAV channel.</td>
</tr>
<tr>
<td><code>L:var_rnavDisplayChannel</code></td>
<td>number</td>
<td>The currently displayed RNAV channel.</td>
</tr>
<tr>
<td><code>L:var_rnavNavigationMode</code></td>
<td>enum</td>
<td>0 = VOR, 1 = VOR/PAR, 2 = RNV, 3 = RNV/APR</td>
</tr>
</tbody>
</table>
<p dir="auto">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 <code>L:var_kr87a_flightDuration</code> 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.</p>
<p dir="auto">I can provide the JS files (or diffs thereof) if you are at all interested in incorporating these changes.</p>
<p dir="auto">Thanks in advance for your time, and for the fantastic aircraft add-on!</p>
]]></description><link>https://community.justflight.com/topic/10551/l-vars-for-kr87-and-kns81</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 07:35:00 GMT</lastBuildDate><atom:link href="https://community.justflight.com/topic/10551.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 May 2026 01:06:54 GMT</pubDate><ttl>60</ttl></channel></rss>