Axis and Ohs: Help and questions

By the way: What is the right syntax when I want to show or hide the ATC Window. The Event Name is “ATC”, but what is the Value? How to use the ATC commands (K:ATC_MENU_0)??

You mean from the stream deck? Or in the RPN scripts?

I don’t think that opening the ATC window works in MSFS. There are a few legacy events in the MSFS documentation that don’t do anything, and that may be one of them. The _1, _2 etc. events work though. I have mapped the _1 event to a button on my yoke, since this is the most used of them all. IIRC the ATC window doesn’t even have to be open for the menu events to work.

In the StreamDeck Event button you just select K: in the little drop down and enter ATC_MENU_0 in the textbox. The value to send is 1.
Full code In an RPN script is this (the > means “write to”):

1 (>K:ATC_MENU_0)

hello,

Its possible i can get the New streamdeck plugin, for testing softkeys on the behringer and working with the streamdeck together.

Many thx

Yes I mean from the StreamDeck.

I found this in the Event IDs *KEY_SIMUI_WINDOW_HIDESHOW* SIMUI_WINDOW_HIDESHOW Display the ATC window.
maybe this opens the ATC Window??

Its possible i can get the New streamdeck plugin, for testing softkeys on the behringer and working with the streamdeck together.

There is nothing “new” in the version 2.3 of the plugin. The only difference is the way that the port for the AAO WebAPI is changed in the plugin, should that become necessary (=plugin not working at all because port 9080 is already in use by another app). I’ll send you a PM here in the forum again.

Is anyone having any issues with heading and speed scripts in the CRJ? I have set up scripts for both and they work fine, but then when I shut down MSFS and restart and load back into the aircraft, the heading bug is spinning round at about 2000RPM and the speed bug is hard locked to maximum (400 knots).

(Altitude, Course and VS are fine)

No issues so far.
What does your script look like?

have anyehere a template for the crj and scripts

Template for what?

I have almost all scripts done for Xtouch mini (st least what I need). Some stuff is still missing, will probably finish it over the weekend

its possible you can send your crj Script via googledrive?

The template and scripte for the New crj.

than can i copy that and change the Button.

Many thx

Yeah I’ll post here when it’s ready.
What device you have? It won’t work if you try to use for example HC Bravo template with Xtouch Mini.

i have the saitek yoke with Quadrant and the behringer Touch x Mini and the streamdeck 15 Button

1 Like

I had the spinning heading bug too yesterday, but I don’t know how I managed to get it. It has only happened in the AS CRJ though. Not even a sim restart cured it, I had to temporarily disable the AAO WASM module.
For me it happened right after I tried that “fix” for the CRJ where you are supposed to turn off asychronous loading of modules. I then reset that back to default, and the spinning didn’t happen again. But that isn’t saying much, I had my hands full working around the CRJ quirks in AAO 2.04…

I’m using the script Lorby posted above…

Then copied the format for the speed

Yeah I have only seen it on the CRJ and like you a sim restart doesn’t fix it. I have to delete the scripts and then restart the sim and it stops.

What is the “fix” regarding asynchronous loading? I haven’t heard of that one?

The spinning is not really about the scripts. It happened to me after a sim start when AAO was not even running. It looks like there is something weird going on between the WASM modules. It is as if MSFS or the CRJ remember things between sessions - I’ve never seen anything like it.
I used MSAO to disable my module, restarted the sim, the spinning stopped. Reenabled the AAO WASM module and things were fine again.

Disabling the asynchronous loading of WASM modules in developer mode was mentioned as a CTD fix(?) on the Aerosoft forums. But TBH that doesn’t sound good, it is unclear to me what it will do to the AAO module that is supposed to load asynchronously.

Interesting. At least someone else has seen it! So no definitive way of stopping it happening at the moment then other than disabling and reenabling…

So no definitive way of stopping it

Not sure. It looks like starting AAO after the plane has loaded helps a little bit with these LVar issues (there are more than just the heading bug). Maybe there are other LVars involved that have to be changed at the same time, that is quite common in MSFS. And in the CRJ there seem to be hundreds of LVars at work.

btw. I am using this code for the heading change now with a rotary encoder on the X-Touch. It even causes a bit of controller acceleration, turning the encoder really fast causes bigger changes of the heading bug

(L:ASCRJ_FCP_HDG_SEL, Number) 10 + dnor (>L:ASCRJ_FCP_HDG_SEL, Number) (L:ASCRJ_FCP_HDG_CHANGE, Number) ++ (>L:ASCRJ_FCP_HDG_CHANGE, Number)

(L:ASCRJ_FCP_HDG_SEL, Number) 10 - dnor (>L:ASCRJ_FCP_HDG_SEL, Number) (L:ASCRJ_FCP_HDG_CHANGE, Number) – (>L:ASCRJ_FCP_HDG_CHANGE, Number)

It would be really nice though, if addon plane developers would adhere to “established” simulator standards and process at least the simulator events documented in the SDK. Hundreds of customers scrambling to find solutions for trivial controller requirements doesn’t feel right to me.

2 Likes

How would I toggle an animation in a script,

For example, I want to have a push button that turns the apu on and off, along with triggering the animation for the button.

The LVARS for this are L:ASCRJ_APU_STARTSTOP,·Number and L:ASCRJ_APU_STARTSTOP_ANIM,·Number

I can get the APU to start and stop but the button just stays pushed in. How would i get it to quickly toggle using a script

Could anyone please paste all the script entries needed to make the CRJ Alt Sel work? I’ve been trying for hours to figure it out