• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

The KLN90B for FSX/Prepar3d in beta.

Messages
17
Country
unitedarabemirates
Morning All !!
I have removed all Il-76 and PT airplanes and started from scratch: reinstalled PT 154 first, tested and FPL was somehow imported. Installed Il-76, updated KLN90 gauge DLL manually to ver.0.79B, deleted the kln90b.dll file from airplane Panel directory (so that the kln90b.dll file in the Gauge directory is used instead), all loaded on FSX, FPL still present. Completed flight, started new FSX session, loaded a new FPL on FSX, tried to transfer to KLN90..... blank FPL. No transfer. What the heck is going on here ?
I need your help, can you please confirm which channel KLN uses to draw info such as FPL from FSX ? Is this thru Simconnect or FSUIPC ? or none ? @Dutch @ce_zeta @Gabor hrasko any help on this please, I love to fly these russian planes, I did this in the last 6 years, since I replaced the laptop with Win10, no hope and this is killing me !
Gents your support and suggestion is really appreciated.
Thanks in advance
Rhino
 
Last edited:
Messages
3,278
Country
spain
Sorry I can't be of great help here, i'm just a basic user happy because it's working. Flying in fsx and Windows 10 PC. Just a question have you a Kln90 folder in the root directory of fsx ? it's is created when installing the gauge.
As said I can't say more, no special installation or tricks, just installed and deleted the duplicated file from panel.

About Johnla post and question, it seem as if the Gauge itself is faulty. Don't know if it could be a compatibility issue ?, don't know nothing about p3d 4, someone could say.
 

n4gix

Resource contributor
Messages
11,674
Country
unitedstates
I am running P3D 4.1 on Windows 10 64bit.

Any help greatly appreciated.
John
John, this gauge is compiled as 32bit and will work only in a 32bit sim such as FSX or P3Dv1, 2, 3.
It will not work at all in P3D v4.x which is a 64bit sim
 
Messages
1
Country
russia
Dear All !

I am trying to update the navigation database for KLN90B (any versions including last one - 0.79B) in P3D v.3.4 but all five dat- files are empty at the end ! The same updating procedure for FSX works excellent. It seems that KLN90B is not able to locate the navigation data in P3D. Finally I copied five dat-files created for FSX into P3D and KLN90B works but I prefer to update them in P3D directly.

Any comments and ideas are very appreciated !

Thanks !
 
Last edited:
Messages
2
Country
unitedstates
I have a different issue and would appreciate some guidance/suggestions.

The simulator is FSX:Acceleration(Boxed) and I have had the KLN90B v0.79B installed for at least 6 months with no problem. I use the EATD KLN-90B data format provided by a Navigraph subscription for up to date procedures. Last week I installed a beta IL-62 for FSX and encountered problems with updating my KLN. Thinking the new aircraft was the problem (as it likely used an earlier version), I reinstalled the KLN-90B via the package posted here. However, I am unable to load any sort of database into the gauge. Upon immediately starting up the gauge (from a fresh install, no PTT_xxx.dat files) I am presented with the following screen showing "Database Critical Error" and the current date. After exiting this screen the unit appears to operate normally without any database. Using SET 0 to update the database has the entire simulator CTD at 50% progress. Sometimes I've gotten it to 53% if I disable the ILS data. After the crash, all PTT_xxx.dat files appear to be populated with correct information. There is no users.dat, no fpls.dat, and no debug.dat (which I have defined).
Considering the recent inop status, and reading through the thread, I suspect that some navigation updates to FSX might be partially at fault.

How much of the Navigraph data is used by this gauge, and how much info is loaded directly from the sim .bgl's? I ask this because probably the most relevant changes I have made including a few addon airports, but more importantly I have updated the navaid/ILS data for several regions of the world that were previously lacking (Russia, China etc...). I also have a CONUS 4-Course "Radio Range" network (they're mostly coded as NDB's with co-located Marker Beacons). Are these PTT files loaded with Navigraph data, or sim data? Could this be the cause of my recent CTD's? Or has something changed in Windows that has made this gauge INOP?

Thanks in advance guys!
1547009515253.jpg

[INTERFACE]
KOHLSMAN=1 ; Do we read the Altimeter settings?
APHDG=1 ; Do we drive the AP heading in HDG mode with NAV/GPS on GPS?
OBSIN=1 ; Do we read the NAV1 OBS setting?
OBSOUT=0 ; Can we set the NAV1 OBS setting?
AIRDATA=0 ; Can we read air data from the interface?
FUEL=0 ; Can we read fuel data from the interface?

[KLN90B]
FONT=0 ; 0=Lucida Console (default) 1=Terminus (must be installed on box)
NAVDATA=2 ; Navigation data package number (0-4)
; 0: no external navigation database
; 1: traditional PTT database (no transitions)
; 2: "EADT KLN 90B" pack
; 3: "PSS Airbus/Boeing/Dash" pack
; 4: "vasFMC Flight Management" pack
NAVDIR=C:\Microsoft Flight Simulator X\KLN90B\NavData ; Navigation data directory
RUNWAYS=1 ; 0=load only hard surface runways, 1=all runways
ILSFREQ=1 ; 0=do not load ILS frequency data, 1=load ILS frequencies
TC=579336
TB=1776411

[DEBUG]
LOGFNAME=C:\Microsoft Flight Simulator X\KLN90B\debug.dat ; Debug file name. Comment out if no debug is needed.

EDIT: Just tried disabling the Radio Range system... no change.
 
Last edited:
Messages
126
Country
italy
I would like to follow the route to an autopilot written in xml. Is there an xml variable that can be added to the code?
 
Messages
2
Country
unitedstates
OKAY!

I've got what I think is a "working" installation of the PT KLN-90B v.079B ;)

I wanna give my solutions and findings to hopefully help others with the problem, and the off chance that it can help the developers in finding a solution. My simulator is FSX:A Boxed running in Windows 10x64.
My problem... I think....lies with PTT_APT.DAT. Attempts to build that file and load it cause a CTD upon reception of GPS location (I.E. upon exit of the Database Update prompt, immediately before I resolve a PPOS). I've used v076b to build the required .DAT files, then ended up deleting PTT_APT.DAT. I get a "Database Critical Error" upon loading v079B. And both v077B and v079B both CTD during database building (v077B just straight up CTD upon reception of a PPOS)... I assume in trying to compile PTT_APT.DAT. For some reason v076b can build the databases, but can only see the airport information, while the subsequent versions cannot load the APT information, but can see VOR and INT. All can read NDB. I've found that if I acknowledge the Database Critical Error, but then make no attempt to Update Database, I get no CTD! I also have no PTT_APT.DAT in my FSX/KLN90B folder.

While this leaves me with no SID/STAR, it does allow me to use NavData information for Direct To and FPLN. I've also found that the official documentation depicts all file locations in the KLN90B.CNF in all capital letters. This appeared to help in at least letting v076B create a database, even if that version could not use it!
 
Messages
1
Country
russia
Is there any chance that the wonderful KLN90B goes 64Bit?
KLN90B runs on Windows x64!
Only need to update the database in the simulator installed on x86 with the file kln90b.dll version 0.77 b.
Then just transfer the XXX_XXX.DAT files to the KLN90B folder of the simulator on Windows x64.
Tested on in Windows 10 x64 with file kln90b.dll both version 0.77 b and version 0.79 b and PT Tu-154B-2 aircraft.
 
Last edited:
Messages
1
Country
germany
My problem... I think....lies with PTT_APT.DAT. Attempts to build that file and load it cause a CTD upon reception of GPS location (I.E. upon exit of the Database Update prompt, immediately before I resolve a PPOS).

I was able to mitigate that crash by loading all Runways not only the hard surface ones. But still Crashing upon loading a SID into the Flightplan.

Does anybody know if the sourcecode for 79B is still available somewhere? The GitHub Commits seem to have stopped beyond 77B.
I would consider to do some debugging the issue this weekend.

Greetings, Kai
 
Messages
65
Country
spain
I was able to mitigate that crash by loading all Runways not only the hard surface ones. But still Crashing upon loading a SID into the Flightplan.

Does anybody know if the sourcecode for 79B is still available somewhere? The GitHub Commits seem to have stopped beyond 77B.
I would consider to do some debugging the issue this weekend.

Greetings, Kai
Hi Kai.
Only Dutch has it.
 
Messages
158
Country
us-northcarolina
I haven't meant to hoard the source code, it's simply I haven't had any time to devote to this project in several years now. If someone wants to take up the torch I'm all for it.

Here is a link to a ZIP of my current Visual Studio project (I think VS2015) for the KLN version 0.79B. This has targets for 32 bit and 64 bit, and it will build for 64 bit and work in P3D V4 and V5, to the best of my recollection. You will need to change the targets in the project settings. It is about 184MB zipped.


Best of luck! I might be able to answer questions here, but that's about it, given the number of urgent projects I'm involved with right now.
 
Messages
1,749
Country
unitedstates
Not sure what you mean. Using the source code above it can be built and will work in Prepar3D V4 and V5. I use it in both.

Dutch

I actually did manage to build the 64bit DLL. But nobody coded this to build a current database for p3D v4 or V5. if i am wrong please let me know how. Also for me to use this i would also need Lvars for the model.def. And i noticed the LCD screen is not centered and cutting off text. So with the last update and most products are 64 bit i felt this project was abandoned. Be great to see it finished as there is not much left to do.
 
Messages
158
Country
us-northcarolina
I actually did manage to build the 64bit DLL. But nobody coded this to build a current database for p3D v4 or V5. if i am wrong please let me know how. Also for me to use this i would also need Lvars for the model.def. And i noticed the LCD screen is not centered and cutting off text. So with the last update and most products are 64 bit i felt this project was abandoned. Be great to see it finished as there is not much left to do.

I'm glad you got it built. To address your LCD screen problem, I recommend using the freeware font "Terminus". it fits nicely on the tiny KLN90B screen and is quite close to the font used in the original. I don't think Terminus is distributed with Windows, you'll have to download and install it.

I believe the "Database Build" function should work for the databases in V4 and V5. And you can install a list of intersections from just about any Navigraph cycle you want.

The relevant options in KLN90B.CNF (copied from my install here) are:

Code:
FONT=1            ; 0=Lucida Console (default) 1=Terminus (must be installed on box)
EXTINTDB=1        ; Use separate 'Isec.txt' and sidstars folder in place of MSFS INTs?
NAVDATA=2        ;
NAVDIR=F:\P3V4\KLN90B\KLN90B_NATIVE

In this example the path is pointing to a folder containing the "KLN90B Native" Navigraph data.

Dutch
 
Messages
1,749
Country
unitedstates
I believe the "Database Build" function should work for the databases in V4 and V5. And you can install a list of intersections from just about any Navigraph cycle you want.

Dutch

I already tried to use NAVDATA = 0 and i get this error
1600819439565.png

Let me know if you can figure out why the default database does not load. Thanks.

I will look into using the correct font....But the issue is the screen is not centered.
Screenshot_13.png



Can i find Lvars from the source files? Or do these still need to be made?

And thank you Dutch for taking the time to help me out.
 
Last edited:
Messages
4
Country
spain
Please, someone upload a compiled dll for 64 bit. i've tried to do it by myself to no avail, and I miss this gauge way too much in p3dv4
 
Messages
2
Country
belgium
For some of us that have flown with a real KLN90b on board, this gauge is a blessing. Although not perfect, it is as good as it gets :)
It worked in FS9 and in FSX. Unfortunately it does not work in P3Dv4 (64bit issue).
Unfortunately not everybody has the C++ skills to find their way in all those cpp, h, obj files in order to be able to build a DLL.
It would be VERY NICE if someone could indeed upload a compiled 64 bit DLL version of this great gauge.
I am sure a lot of (virtual) pilots would appreciate this very much.
 
Top