falcon71 / kln90b

KLN 90B for MSFS
GNU Lesser General Public License v3.0
43 stars 2 forks source link

KLN updates too fast after hot swapping #24

Closed falcon71 closed 4 months ago

falcon71 commented 4 months ago

This issue was reported with the version 1.2 of the KLN: Use the tablet to swap to the GNS and then swap back to the KLN. GPS variables like A:GPS GROUND SPEED, or A:HSI CDI NEEDLE:1 will now be updated more frequently than 1HZ. Cycling the power of the KLN off and on again restores the frequency back to 1HZ.

The tablet of the aircraft simply switches the GPS_DISABLED variables.

falcon71 commented 4 months ago

The issue has been identified. The second L:KLN90B_Disabled is set to 0, GPS OVERRIDDEN will be set to 1, to take control of the GPS variables. A short moment later, someone sets it to 0 again. The KLN is not writing the GPS variables now, but the sim itself. When the power of the KLN is cycled, it sets GPS OVERRIDDEN back to 1. I assume the GNS sets it to 0 as part of its disabling process.