Everything posted by Stefan01
-
AAO 2024 4.56 b19 hardware not recognized
I found the solution. For some inexplicable reason, AAO had put the controllers on the device blacklist. I certainly didn't do it. I removed them from the blacklist and set them to “allowed,” and now everything is back to normal. Strange
-
AAO 2024 4.56 b19 hardware not recognized
I haven't had any problems with AAO 2024 until today. Now the game controllers are no longer being recognized. However, they are recognized in AAO 2020 (see image). I've tried the following without success: 1. Rebooted the PC 2. Rescanned devices in AAO 2024 3. Reinstalled AAO 2024 Now I’m completely stuck. Thanks for help Stefan
-
MSFS 2024 Template: Added Button Not Gray
I restartet MSFS and AAO but nothing changed.
-
MSFS 2024 Template: Added Button Not Gray
Hello, I added a button with a virtual event to an existing template. I also added the button to the template using the “Edit Template” function. In the view, the button is displayed in dark instead of gray. What did I do wrong? Thanks for your help, Stefan
-
No SimConnect in MSFS 2024 and AAO 4.56b19
Thanks for the quick reply. Sorry about that—my mistake. I thought it worked similarly to other external apps that connect via SimConnect. Thanks again, Stefan
-
No SimConnect in MSFS 2024 and AAO 4.56b19
I have MSFS 2020 (Store Version) and AAO 4.56b19 installed on my PC, and both run perfectly. Now I have newly installed MSFS 2024 (Store Version) on the same PC. All installations are in the default directories. When I start MSFS2024 and AAO, SimConnect does not connect. I reinstalled AAO, hoping that would fix the issue. Unfortunately, it didn’t work. It would be great if someone could help me out. Thanks, Stefan
-
Is there a script to restart the scripts in LAAOH
Nevertheless, thank you very much for your support.
-
Is there a script to restart the scripts in LAAOH
Thank you very much for the very detailed description. I followed it exactly. When I press the button assigned to the “Disconnect” script, AAO briefly goes into offline mode (red light). In offline mode, all variables such as altitude, speed, etc. disappear from the autopilot display on the Streamdeck. That's how it should be. After a very short time, it returns to SimConnect mode (green light). The template for the aircraft is also reloaded, but the variables are not reread and the scripts associated with the buttons do not work. This only works again when I click on SimConnect (green light) twice. Only then are the scripts and variables loaded and displayed on the Streamdeck.
-
Is there a script to restart the scripts in LAAOH
Thanks for the quick reply. It's the Fenix A320 and the B777F from PMDG. As far as I remember, in the case of the A320, it was the variable (L:I_FCU_SPEED_MODE, Bool) that controls what is displayed. In the case of the B77F, it was (L:switch_2281_a, Number) that controls whether an image is shown in the Stream Deck. I can't remember the previous cases exactly. The values are only read out, so I don't know what can be changed in the program. I tried the command (AAO_ONLINE_MODE). It terminates SimConnect and puts AAO into offline mode. However, I have not yet found the command to reconnect to SimConnect. So far, the only way to do this is to click on the green dot behind the SimConnect text in the AAO GUI. Is there a command for this?
-
Is there a script to restart the scripts in LAAOH
During my flights, individual LVAR values are sometimes no longer read correctly. I then have an incorrect speed display on my Streamdeck, or no value is displayed at all. When I check the value using the “Watch simulator variables” function, an incorrect value is also displayed there, which does not correspond to the flight status. I can solve this very easily by opening the script editor and closing it again immediately. After that, the incorrectly read value is correct again. However, since I have to exit full-screen mode to do this, it is a bit cumbersome. So my question is: is there a script that allows me to achieve the same effect and that I can then call up via a button on the Stream Deck? Thanks for your help, Stefan.
-
Web API PMDG 777 FMC
Thank you very much for your help. The error was elsewhere. I also have the Elgato Streamdeck plugin. The port must be 9080/9081 for this to run without errors. This means that the ports for the fippanel and the hooks are also 9080/9081. I don't think it is possible to assign different ports. I am now running the FMC on a second PC by calling port 9080 instead of 43380 as described in the readme.txt for the FMC. Thanks again Stefan
-
Web API PMDG 777 FMC
I am trying to set up the Web API for the FMC. AAO 4.51b09 MSFS 2020 PMDG 777f What I have done: 1. copied the folder: pmdg777fmc” into the folder \Documents\LorbyAxisAndOhs Files\WebPages\ 2: Adjusted the file 777_Options.ini. I am sure that I have done it correctly, then with another application the FMC runs without problems on another computer. https://flightsim.to/file/77669/pmdg-77w-cdu 3: Added the two scripts as Aircraft automated scripts to the template. “PMDG-PMDG_777_CDU” one shot “PMDG-PMDG_777_Data” repeating Since it does not work, I looked at the scripts and both have the same text: (PMDG:reserved[0]) Is that correct???? 4: Host firewall adjusted The program C:\Program Files\LorbyAxisAndOhs_MSFS\LorbyAxisAndOhs_MSFS.exe is enabled for inbound and outbound rules for private and domain for UDP and TCP for all ports. 5. I tried to call local with Edge http://localhost:43380/webapi/pmdg777fmc/left.html http://localhost:43380/webapi/pmdg777fmc/right.html http://localhost:43380/webapi/pmdg777fmc/center.html Nevertheless, it does not even work on the local PC. What is still missing for success? Thanks for your help Stefan Translated with DeepL.com (free version)
-
If the default voice is changed, it is not recognized.
Thank you for the detailed explanation. It is a misunderstanding on my part. I thought that if no voice is defined, then AAOH always takes the Windows default voice. I have now done this by entering the command ( VOICE:Microsoft David Desktop) once at the beginning of the session in the first script that is called. This will ensure that David is always the one speaking during the entire session. Thanks again Stefan
-
If the default voice is changed, it is not recognized.
In Windows 11, David is set as the default voice. When I press the “Preview voice” button in Windows Settings=> Time & language => Speech, the response is: “You have selected Microsoft David as the default voice”, I have made a small script to set AAOH: (VOICERATE:-1) (VOICEVOLUME:100) (SPEAK:David should speak ) When I run this script I hear a female voice say: “David should speak ”. This is definitely not the default voice. I assumed that in this case the default voice set in Windows, in my case David, would always be used. For some reason I don't understand, AAOH chooses a different voice and I would like the Windows default voice to be used.
-
If the default voice is changed, it is not recognized.
MSFS2020 Lorby AxisAndOhs 4.50b32 WIN 11 Pro 24H2 I made a few scripts for a pilot monitoring, which announces the flap position for example. This worked very well with David English US as default voice. Because of a Windows problem I have made an in-place upgrade Windows 11. After the upgrade the default voice was a female voice. I only noticed this during the first flight, as it was no longer “David” speaking. After the flight, I set David as the default voice again, restarted the PC and then started the flight simulator. Unfortunately, AxisAndOhs still uses the woman's voice. My question, what can I do to make AxisAndOhs use David again, which is now the default voice again. Thank you very much Stefan
-
aircraft automated scripts and template
Thanks for the hint “ I activated Offline Mode and selected an existing aircraft config” With this it works. I did not do this in offline mode but added the aircraft automated script to the respective aircraft and then thought that if I saved the template again, the automated scripts would also be saved with the template. Thanks again for the detailed description
-
aircraft automated scripts and template
Thanks for the tip. Unfortunately, this does not work for me. I loaded my airplane with the template and the aircraft automated scripts and then saved the existing template again. Then I loaded the airplane with a different livery and linked the template to the aircraft. The buttons and axes were there but not the aircraft automated scripts.
-
aircraft automated scripts and template
Hello, I have written a few scripts for the Fenix A320 which I have saved as aircraft automated scripts. My question: Is there a possibility to link these scripts with their parameters to my Fenix A320 template, or do I have to link these scripts again with every new livery for the aircraft? Thanks for any advice Stefan
-
Please help for iteration loop
Thanks for the quick reply, I will try it out tomorrow regards Stefan
-
Please help for iteration loop
Hello, I would like to make a script for the FBW with which I can set the elevator trim to zero. My unsuccessful attempts: 1st attempt in the script editor :1 (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·<·if{·1·(>K:ELEV_TRIM_UP)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·>·if{·1·(>K:ELEV_TRIM_DN)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·!=·if{·g1} Result: The script runs once and the trim is adjusted once. 2nd attempt in the script editor :loop1 (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·<·if{·1·(>K:ELEV_TRIM_UP)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·>·if{·1·(>K:ELEV_TRIM_DN)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·!=·if{·(GOTO:loop1)} Ergbenis: Wie bei 1 Result: As with 1 3rd attempt in the script editor. Since I couldn't get the loop to work, I made 2 scripts that should call each other alternately until the target value is reached Scriptname: FBWA320N_PM_SUB-AFTER_LDG_ELEV_TRIM·LOOP1 script editor: (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·<·if{·1·(>K:ELEV_TRIM_UP)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·>·if{·1·(>K:ELEV_TRIM_DN)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·!=·if{·(CALL:FBWA320N_PM_SUB-AFTER_LDG_ELEV_TRIM·LOOP2)} Scriptname: FBWA320N_PM_SUB-AFTER_LDG_ELEV_TRIM·LOOP2 script editor (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·<·if{·1·(>K:ELEV_TRIM_UP)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·>·if{·1·(>K:ELEV_TRIM_DN)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,·Number)·22·!=·if{·(CALL:FBWA320N_PM_SUB-AFTER_LDG_ELEV_TRIM·LOOP1)} Result: The trim is adjusted as desired but at the end the trim wheel is moved back and forth around the zero point, the two scripts call each other endlessly. 4th attempt Script file created with Notepad Format UTF-8 Storage location: “C:\Users\Myname\Documents\LorbyAxisAndOhs Files\Scripts\LOOP1.txt” Contents: :loop1 (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22-<-if{-1-(>K:ELEV_TRIM_UP)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22->-if{-1-(>K:ELEV_TRIM_DN)(WAIT:250)} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22-!=-if{-(GOTO:loop1)} Create a script in the script editor to call the file Content: (SCRIPTFILE:LOOP1.txt) Result: No reaction Since this is my first program with LAAO and RPN I am at the end of my skills. It would be nice if someone could give me some advice where my error is so that I can go on. My workaround which is not pretty but works: I calculate the number of steps to the target value and then have that executed . Script in the editor: (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22---0.35-/-abs-(>L:S_TRIM_WHEEL_IT;Number) (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22-<-if{-(L:S_TRIM_WHEEL_IT;Number)-iterate{-1-(>K:ELEV_TRIM_UP)(WAIT:250)}next-} (L:A32NX_HYD_TRIM_WHEEL_PERCENT,-Number)-22->-if{-(L:S_TRIM_WHEEL_IT;Number)-iterate{-1-(>K:ELEV_TRIM_DN)(WAIT:250)}next-} Thanks for advice Stefan
-
Problem with P3D V3.1 and Linda
I have to correct myself. The name of the file is FSUIPC.ini It is in the folder modules. With the lines: [Programs] RunIf1=KILL,C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\linda.exe I start Linda together with P3D sorry for the wrong file name Stefan
-
Problem with P3D V3.1 and Linda
Hi, I had also some problems with LINDA after I upgraded from P3d v2.5 to P3dv3.1. But as I found out it was my fault. After installation I copied the folder “modules” from v2.5 to v3.1. It took some time to find out that copy and paste is not enough. I should have adapted the config.ini file in the folder “modules”. The config ini file points to the place where the linda.exe is. In that case it was still P3d v2. That means Linda was started in the wrong folder and had no chance to work properly with FSUIPC. After I changed the address to P3d v3 the Linda.exe in the right module folder was started and now everything works fine. Good luck Stefan
-
Is Master / Slave configuration with P3D V2.5 PMDG777 possible?
Hi all, On my Master PC if have installed OS Win7 Pro and P3d v2.5 and PMDG 777. On my Slave PC I have installed OS Win 7 Pro and ASN Next, IVAP and vPilot . Both Pcs are connected via Simconnect. My question, is it possible to install Fs2Crew on the slave Pc? Do you have experience with such a configuration? Thanks a lot Stefan
-
How to assign a function from user.lua to MCP Combo knob?
Hi Scot thanks for your quick reply. I will wait. Stefan
-
How to assign a function from user.lua to MCP Combo knob?
Hi all, Linda 2.6.3 I have written some functions in the user.lua of my PMDG777 and placed it in the PMDG777 folder. When I load the aircraft I see in the tracer the message “User´s modification script is loaded”. When I go in LINDA Gui to MCP Combo and right click on a line where I can assign a function to a knob or button I cannot find the functions I have defined in the user.lua. For example I added to user.lua the following lines: function TCAS_MODE_CYC () i = ipc.readLvar("switch_749_a") if i == 0 then TCAS_MODE_alt () elseif i == 10 then TCAS_MODE_xpndr () elseif i == 20 then TCAS_MODE_TA () elseif i == 20 then TCAS_MODE_TA () elseif i == 30 then TCAS_MODE_TARA () elseif i == 40 then TCAS_MODE_stby () end end What can I do to show the function "TCAS_MODE_CYC" in the Linda GUI to asign it to a button like the functions in the Lib :Default FSX other Lib´s ….. or from PMDG 777 written in the actions.lua In the past I have written the additional tasks in the actions.lua and I presume that in that case the functions where written in the file PMDG 777-Functions.txt. In that case I could see the functions and asign them to buttons. Now I have removed all the selfmade functions from action.lua and written them to user.lua Do I have to writte something similar for the user.lua for example User-Functions.txt or what can I do? Is a manual for this available? Thanks a lot for help Stefan