The gauge is displayed but remains static

Support for Air Player desktop on ARM devices, like the Raspberry Pi.

Moderators: russ, Ralph

Post Reply
Message
Author
User avatar
PapaLima
Posts: 60
Joined: Fri Jan 05, 2018 10:49 am

The gauge is displayed but remains static

#1 Post by PapaLima »

Hi

I did not take care yesterday evening (too happy to see my gauge on the Pi screen), I remarked that the gauge does not react to the simulator and its image remains static... :?

Here is my configuration :

I have a Raspberry Pi2 B+ with an installed the AirPlayer image on its SD card.

The Pi is connected using a LAN ethernet cable to a HUB where PC running P3D and AirManager desktop is connected.
NO USB cable is used.

When I start the Pi, I see the SImInnovation logo then from the AirManager Desktop app (v3.2.1), I can see my Raspberry in the Devices tab.

An IP address is assigned (like the 192168.1.xxx) and I can create a panel and put a gauge on it. With the Save button I see the gauge in the Pi attached screen.

When P3D is started, I can see the bottom right corner message "Connected to Prepar3D"

When a flight is started, the gauge does not change... (the panels handled by AirManager desktop are working correctly)

I have reinstalled the AM Plugin for FSX/P3D : the summary windows shows "libraries installed" "FSX installed" "P3D installed"
In the Prepar3d V4 details I see the 2 first rows as errors. Is it normal ?

Code: Select all

Searching installation path for Prepar3d (v4)
Could not find registry path at 'HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v4:SetupPath'
Could not find registry path at 'HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v4:AppPath'
Installing the AM module to 'E:\P3Dv4.1.7\Modules\Air Manager'
Searching config file for Prepar3d (v4)
Successfully written AM configuration to 'C:\Users\PapaLima\AppData\Roaming\Lockheed Martin\Prepar3D v4\dll.xml'
Successfully installed Air Manager on 'Prepar3d (v4)'.
The DLL.XML content looks ok for me :

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>dll.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>
  <Launch.Addon>
    <Name>FSUIPC 5</Name>
    <Disabled>False</Disabled>
    <Path>E:\P3Dv4.1.7\Modules\FSUIPC5.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>Air Manager</Name>
    <Disabled>False</Disabled>
    <Path>E:\P3Dv4.1.7\Modules\Air Manager\AirManager.dll</Path>
  </Launch.Addon>
</SimBase.Document>
The AirManager.dll is present:

Code: Select all

Répertoire de E:\P3Dv4.1.7\Modules\Air Manager
28/01/2017  18:54    <DIR>          .
28/01/2017  18:54    <DIR>          ..
05/01/2018  21:18           274 944 AirManager.dll
               1 fichier(s)          274 944 octets
               2 Rép(s)  312 225 660 928 octets libres
I am out of tries. Any idea?

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

Re: The gauge is displayed but remains static

#2 Post by Ralph »

If Air Manager says it's connected then the plugin is running. Please try it with the (all) firewall disabled.

User avatar
PapaLima
Posts: 60
Joined: Fri Jan 05, 2018 10:49 am

Re: The gauge is displayed but remains static

#3 Post by PapaLima »

Thanks for the suggestion

I disabled the firewall and suspent the antivirus "in case" without any change.

I even added "airmanager.exe" (the AM3 desktop app) in the application authorized list in the firewall. No change.

I am running P3D 4.1.7 and AM 3.2 with java SE 1.87.0_151 64b.

I tried to test the AM communication with the AM player for windows on a laptop but I need a licence I do not have for this test. It was possible with the AM2 release before.

Is there any windows registry, java version or config file to check for AM3 ?

On the same PC I was able to run P3D3 and AM2 with AM Player on a second PC. AM2 is still installed. Maybe it can raise a problem with a configuration conflict ? I can uninstall AM2. How can I be sure, all is ok for AM3 (in term of config files) ?

Bye

User avatar
PapaLima
Posts: 60
Joined: Fri Jan 05, 2018 10:49 am

Re: The gauge is displayed but remains static

#4 Post by PapaLima »

issue solved : it was due to the Windows Defender firewall missing rule. (I am running W10 64b)

After having found the logs files below:

log.txt in folder <USER>\Air manager
p3d_log.txt in folder <USER>\Air Plugin

In one of tose I got "client disconnected by a program running on the server PC"

I added applications "airmanager.exe" and "prepar3d.exe" with authorized networks private and public (does not work without public checked)

Now it is ok. A full BE58 default AM panel can be well handled and displayed by the PI2 in 29FPS !!

8-)

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

Re: The gauge is displayed but remains static

#5 Post by Ralph »

Perfect. In case of connection problems, in 9 of 10 cases it's the firewall.

Post Reply