February 16, 20233 yr Hi there, I'm trying to set up AAO to switch between Auto-Throttle FMS and Manual in the Vision Jet in MSFS. According to mobiflight (and their Discord server), the command should be: (L:SF50_push_at_fms_man, Bool) ! (>L:SF50_push_at_fms_man) This is what I have in Axis and Ohs, but it simply doesn't work: In their Discord, they showed another app and it's working for them (it's also documented in the Vision Jet .PDF manual) What am I missing here? Thanks!
February 16, 20233 yr Commercial Member 19 minutes ago, Nitrium said: What am I missing here? AxisAndOhs User Manual, chapter about Scripting, section about "Local variables (L: vars):" Be mindful that the RPN dialect of AAO is not just a replica of the SDK - it cannot be compared to other apps. It has a lot more operators, control structures and commands. First - When LVars are to be synchronized with the sim, you MUST always supply the proper Unit. Otherwise the LVar is only used for internal processing and never leaves AAO. Second - the script in your screenshot does nothing. It only reads the LVar, it doesn't write to it. Use (> to write to a variable. Example 1 (L:SF50_push_at_fms_man,·Bool)·!·(>L:SF50_push_at_fms_man,·Bool) Example 2 1·(L:SF50_push_at_fms_man,·Number)·-·(>L:SF50_push_at_fms_man,·Number) Example 3 1·(>L:SF50_push_at_fms_man,·Number) Example 4 0·(>L:SF50_push_at_fms_man,·Number) Edited February 16, 20233 yr by Lorby_SI LORBY-SI
February 17, 20233 yr Author 11 hours ago, Lorby_SI said: AxisAndOhs User Manual, chapter about Scripting, section about "Local variables (L: vars):" Be mindful that the RPN dialect of AAO is not just a replica of the SDK - it cannot be compared to other apps. It has a lot more operators, control structures and commands. First - When LVars are to be synchronized with the sim, you MUST always supply the proper Unit. Otherwise the LVar is only used for internal processing and never leaves AAO. Second - the script in your screenshot does nothing. It only reads the LVar, it doesn't write to it. Use (> to write to a variable. Example 1 (L:SF50_push_at_fms_man,·Bool)·!·(>L:SF50_push_at_fms_man,·Bool) Example 2 1·(L:SF50_push_at_fms_man,·Number)·-·(>L:SF50_push_at_fms_man,·Number) Example 3 1·(>L:SF50_push_at_fms_man,·Number) Example 4 0·(>L:SF50_push_at_fms_man,·Number) D'oh! Thank you, Lorby. I'm not very familiar with RPN and MSFS, but there ya go, I learned something new today. Thanks again, works great!
Archived
This topic is now archived and is closed to further replies.