nav data functions not working

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Post Reply
Message
Author
prdrenthe
Posts: 13
Joined: Tue Dec 08, 2015 6:38 pm

nav data functions not working

#1 Post by prdrenthe »

The following functions with their sample code are not working.
map_add_nav_img_layer;
map_add_nav_txt_layer;
map_add_nav_canvas_layer;
nav_get;
nav_get_nearest;
nav_get_radius;

Does any body has the same results?

regards, Peter

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: nav data functions not working

#2 Post by Ralph »

Not working is a vague description. Is your PC turned on? :)

prdrenthe
Posts: 13
Joined: Tue Dec 08, 2015 6:38 pm

Re: nav data functions not working

#3 Post by prdrenthe »

After turning on my laptop before starting coding! thanks for reminding.
I was referring to the sample code as described in your "Air Manager Instrument Logic API".
I was connected to FS2020 (running on a other PC) but no flight started.
I created a new instrument to learn from your sample code.
I also watched the "Instrument development - E16 - Map" youtube video but is 4 years old.
I have the latest version of Air Manager.
What am I doing wrong or not understanding from your instructions and tutorials.

Regards, Peter

prdrenthe
Posts: 13
Joined: Tue Dec 08, 2015 6:38 pm

Re: nav data functions not working

#4 Post by prdrenthe »

I contacted a friend of my and he gave the right answer.
The above mentioned functions do work with FSX running.
It does not work with FS2020 when started a flight.

Regards, Peter

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: nav data functions not working

#5 Post by Ralph »

Works fine here, so you most probably have a connection/network error. Give it a try with the firewall turned off. Also make sure that you're running the latest plugin.

prdrenthe
Posts: 13
Joined: Tue Dec 08, 2015 6:38 pm

Re: nav data functions not working

#6 Post by prdrenthe »

I am running the latest plugin.
But I find that it works when the firewall is turned off.
The firewall settings for the program file is present for TCP and UDP.
Do you have any idee how I could solve this problem.

Thanks for your feedback

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: nav data functions not working

#7 Post by Ralph »

You'll probably have to make an exception for the FS2020 Bridge service and javaw (Air Manager).

prdrenthe
Posts: 13
Joined: Tue Dec 08, 2015 6:38 pm

Re: nav data functions not working

#8 Post by prdrenthe »

I made an exception in the firewall for the FS2020 Bridge service and this solved the problem.

Thanks very much for your cooperation.

Regards, Peter

Post Reply