Anyone have idea how to get altitude rotary knob working via event/variable? If rotate is bound via sim settings or with AP_ALT_VAR_INC / DEC plane starts to descend/climb as soon as knob is rotated. Correct behaviour would be to set altitude and start climb/descend only after ALT mode select is pressed.
I’m trying to create script for AAO, everything else (Mode selects etc) is working except this ALT rotary logic.
Hi can I ask how you managed to get altitude and vertical speed assigned to a knob for a32nx…I’ve managed speed and heading but altitude just isn’t working for me …absolutely loving the possibilities if axis and ohs …so much so I ditched my plans with building a circuit with encodes and just took delivery of behringer xtouch …cheers for any advice
ALT mode selector:
(A:AUTOPILOT·ALTITUDE·SLOT·INDEX,·Number)·1·==·if{·2·(>H:A320_Neo_CDU_MODE_MANAGED_ALTITUDE)·}·els{·1·(>H:A320_Neo_CDU_MODE_SELECTED_ALTITUDE)·}
VS mode selector:
(L:A320_NE0_FCU_STATE,·Number)·1·==·if{·0·(>H:A320_Neo_FCU_VS_ZERO,·Number)·1·(>H:A320_Neo_FCU_VS_HOLD,·Number)·1·(>K:AP_PANEL_ALTITUDE_HOLD,·Number)·1·(>K:AP_PANEL_VS_ON,·Number)·0·(>L:A320_NE0_FCU_STATE,·Number)·}·els{·0·(>H:A320_Neo_FCU_VS_HOLD,·Number)·1·(>H:A320_Neo_FCU_VS_ZERO,·Number)·1·(>K:AP_PANEL_VS_ON)·0·(>L:A320_NEO_FCU_FORCE_SELECTED_ALT,·Number)·1·(>L:A320_NE0_FCU_STATE,·Number)·}
I might need to change VS mode selector logic a bit.
cheers for this update , but iI havent got a clue what to do with this code and how to make us of it in axis and ohs … I dont suppose you could elaborate a wee bit more …and help a old yin oot.
I’m gonna write a guide soon in my github. But that’s a RPN script which you can create in AAO. Go to Scripting → Manage RPN Scripts and create a new script. Then assign that script as a key down event on your Bravo’s ALT button.
Thanks again for this …I will try and give this a bash …so fingers crossed…and it would be great if and when you do write a guide …its folk like you who have figured out what most of us couldn’t even imagine that makes the flying community so great .so cheers once again
hello again , well i tried the script and the autpilot altitude script does now control the selection of mode select when i push an encoder button in .
what if i may be so bold to ask would be a script that then would assign the left turn of this encoder to altitude down and the right click to altitude up. since the ability to change altitude is a biggie …
i reckon if you could kindly supply those details then id be able to figure out how scripts work for other things.
cheers once again , thanks for sharing this it really will help i think , i hope in my understanding of how to get the x touch to work . they way I would like it.
hi folks, just wanted to say a big thankyou… with the help that I have received from these boards and of late especially from bLindyee I have managed to take of and fly using my behringer x touch knobs to control… heading… speed and altitude and numerous buttons assigned to auto throttle and flight director etc … .some of you may know I had been planning and had started to make my own circuit to try to achieve this , I had costed the project out and it would have run to well over 100 pounds when you take the cost of encoders into consideration… if i add up the cost of the x touch and the purchase of the incredible program tat axis and ohs to make it all work im not out much more than 60 pounds …for those of you that havent looked into this piece of kit I would urge you to do give it at least a consideration. cheers again for those of you who have offered help and assistance.
I just got everything working, thanks to Lorby.
Now altitude and heading preselector work like they should. Here’s guide for HC Bravo + AAO, with template and scripts included.
Hi, do you mind sharing your scripts that you used for the XTouch? Im having a hard time trying to understand scripting properly, as Im not a programmer and Im definitely am not used to RPN syntax. Would really appreciate it!
here is the script im using for my behringer x touch mini …it gives speed and heading and altitude control using knobs and a few buttons as well owrk …still alot for me to figure out … i couldnt see a way to just upload a copy of my exported script so this a copy into notepad …i assume if yu copy it into a new script it should work for you too.
cheers
h