Jump to content
Sign in to follow this  
UIWM

NAV key and GTN 750 (almost works)

Recommended Posts

While trying to get my JS41 follow Flight1's GTN 750 without any luck, I noticed that with GTN set for heading hold steering mode (through config file), with JS41 in V/L VOR1 mode, if you keep pressing NAV button on autopilot panel continuously (several times per second), aircraft will follow the track from GTN !, albeit EHSI will not show CDI needle, etc, but it doesn't matter. The problem is that this NAV button is not default and pressing NAV1 button from default control assignments will not do the same trick.

Has anyone got an idea how to somehow determine this custom NAV button and bind it for continuous engagement (through Fsuipc, etc.)?

 

PS. What is also interesting that JS41 follows KLN-90B from this developer ( http://www.fsdeveloper.com/forum/threads/the-kln90b-for-fsx-prepar3d-in-beta.432845/ ), it has override function for heading hold. Aircraft follows KLN perfectly, so I guess GTN could do too. 

 

Thank you.

Share this post


Link to post

disclaimer: I am a novice programmer...I followed the suggestions given by the article on how to write a Lua script from "Guide to couple JS41 autopilot and Flight 1 GTN 750" I was able to figure out with microsoft visual basic to write the Script

while 1 == 1 do

ipc.writeLvar("L:FdModese1NavSwitch", 1)

ipc.control(66587,278)

ipc.control(66587,8031)

ipc.sleep(200)

end

I followed the instructions from the article and was able to implement the procedure which works...However, after about 25 minutes from the point of setting autopilot which engaged GTN750, I got the following error...

"An unhanded win32 exception occurred in fsx.exe [6828] then "new instance of visual studio community 2017 open up and I will place the debug file below so that maybe somebody with programming experience with visual studio will state what is going on....I am not sure if this is due to a memory error or a problem with Simconnect...

'fsx.exe' (Win32): Unloaded 'C:\fsx\PMDG\dlls\PMDGOptions.dll'
'fsx.exe' (Win32): Loaded 'C:\fsx\PMDG\dlls\PMDGOptions.dll'. Module was built without symbols.
'fsx.exe' (Win32): Loaded 'C:\fsx\PMDG_SimConnect_Ldr.dll'. Module was built without symbols.
'fsx.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_4bf7e3e2bf9ada4c\mfc90.dll'. Cannot find or open the PDB file.
Exception thrown at 0x12F419AF (PMDG_SimConnect_Ldr.dll) in fsx.exe: 0xC0000005: Access violation writing location 0x00000000.
 

Thanks in advance for suggestions. 

Bob Adams


Bob Adams

Share this post


Link to post

found the problem...stated above...the Lua script had some mistakes, corrected those mistakes and the GTN-750 and pmdg JS4100 will now talk to each other...

So disregard the former post of mine...

Regards,

Bob Adams

 


Bob Adams

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...