Everything posted by fasencio
-
Show string L variable in Desktop FIP AAO FSX
Got in the FIP now . Thank you Sir
-
Show string L variable in Desktop FIP AAO FSX
Thank you Sir. I have checked both AAO and Special Gauges manual ( format_string !s! ), I understand the sims limitation. I will try out your code suggestion in the FIP which would serve me well as in other ocassions..... But I do want the text to appear , in fact , I am retreiving the info from Vatsim and filetring it for my intests , obtaining Name and Freq of controllers I want. Greetings and congratulations for powerfull AAO . I have used it in 2020 and 2024 . And in fsx it performs very well , even in an very modest machine .... very modest, indeed. Greetings for you.
-
Show string L variable in Desktop FIP AAO FSX
Good aftenoon all . I am not able to see L variables generated as strings inside an AAO Desktop FIP. Neither do I see it inside custom XML gauge inside the plane . Variable is generetaded in RPN script as in 'Sector_1'·(>L:Vatsim_ATC_Freq_Str,String) . As soon as i replace content with a number , say 133.33 the content is visible both in FIP and plane gauge. Maybe someone can help me out ?I have tried Text Element. and also Formatted Text. Thank you.
-
Use sliders as buttons . Possible ?
Thank you Sir. That and the autogenerated sript variable will do the trick. Endless possibilities. Somehow I did not understood this after reading ( many times ) the official documentation and the "AAO fur Einsteiger" document . I havent dealt with axis before , only in script developement. I am using an Futaba 9c Heli transmitter to implement this interface, ( 8 proportional axis into Windows ) I am repeating here ; AAO is a Very powerfull tool. Greetings. Thank you
-
Use sliders as buttons . Possible ?
Thank you very much for looking into this Sir. In fact , the products documentation is so good that I should not bee asking this questions. But I have not managed to obtain the results I want. I have tried, just as you remind me , the "Trigger Direction" and else. With native Sim Events and with self made scripts. For an example, I have a slider that I want to assign the "push button" task of "Elevator Trim Up" on one end and Down on the other end. I get the correct output in the plane but have not been able to stop it from moving. It goes either up or down continiously ( wich does not happen if you use a button or even a key on the keyboard ) . The sim has an "Elevator trim axis" but that does not work either , interfering when in Autopilot ... There is something that I do not yet understand and is preventing success. Maybe you can elaboate on this particular example for me . Thank you again.
-
Use sliders as buttons . Possible ?
I have 4 unused slider controls ( proportional axis ) I would like tu use them as button pushes series... Suspect there is a way but have not accomplish . Ideas ? Thank you.
-
Axis curves
And nowadays you can, of course, ask chatgpt to do it for you. Nice experience that one ! Greetings all.
-
Axis curves
In fact, the output for the given expression y(5) = just under 2 ( maybe 1.8 ) With help of Excell again, programmed the expression for testing and the exact value : y(x=5) = 1.7076. I fly RC scale Helicopters and know how valuable it is to have a nice flat response curve without loosing the full range of the stick, hence use always EXPO mode in my transmitter ( Aileron and Elevator ), for a smooth flight. In trying to fullfill @Crabby s need using powerfull AAO , I will proceed in 2 steps: 1.- Generating an Script that represents the Y(x) function and 2.- Binding the Controller axis to this function. I will do 1.- this time since it is still a couple days untill I can reach my SIM Pc again to test in situ. - 1.- The script I created is : ( i am giving x value 5 to (L:Stk) as a parameter, and the result is put into (L:Out) variable) 5·(>L:Stk) (L:Stk)·3·pow·0.0115·*·(L:Stk)·2·pow·-0.099·*·+·(L:Stk)·0.6866·*·+·-0.6879·+·(>L:Out) Which works ok, tested in AAO "OfflineMode". v/s Excell formula The script is executed for any given parameter wanted. 2.- In AAO you can a) Assign an Script as "Simulator Event" and b) Pass parameters to it when invoked. for b) to work, you have to insert a special "Script Var" at the very beggining ( in the editor) of the script , possible only after saving the initial script once. Lets say the script lives in group "Axis" and is called "Expo" you should finish editing with something like : (L:Axis-Expo) (>L:Stk) The space between the parenthesis is a must. Afterwards , you can assign an "Simulator Event" pointing to " "Axis-Expo RPN" to the corresponding controller axis. It should translate the value of the controller position into its equivalent Y(x) value. And the output of the script must be edited to epresent an axis setting inside the SIM, for example : (L:Axis-Expo) (>K:AILERON_SET) I have yet to test in the SIM, so this ends my update for today. Greeting and happy fly.
-
Axis curves
And it is not that difficult to obtain the formula. By the way, in Futaba 9c Radio Control transmitter (picture), you can adjust the output corresponding to a certain stick position , using "exponential" , "EXP" and it is , on adjusting , expressed in %. An "curve" output.An "dampening". If one has access to Excell spreadsheet , it is easy to obtain and "interpolation function" for a given series of paired values. I.E. Stick Position v/s Signal Output to the plane. Like in the figure , you start with a series of paired values Stk v/s Out and give values to out as wanted for each Stk position. In the example, at half Stk(5) , the output is only Out(2.5). You insert an simple Line chart for the range of values and obtain the Blue and Red lines. graphically. The chart will update every time you change the Out value for each Stk value. Now , Right clicking on the chart blue line , select "Add trendline", in options make it "Polinomial" "order 3" and select to show formula.. The formula and graphic representation of it , the "Interpolation function" of Out v/s Stk will be to seen as the black line. In this case , Out (Y) is expressed in terms of Stk (x) values. For programming in AAO I pass for he time beeing , although I can imagine how to proceed. Very powerfull software AAO !!
-
Send event with negative value parameter
Good day Sir. Did not work either. Must be a flaw in the event itself. ( output defaults to +1 value for any negative input.) Fortunately your suggestion to use direct Axis control works ok in both directions. And using this event , there is still a precisiòn of 1/16k , enough for my purposes. Will be using this one. Thank you for prompt answer. Your software is an gratifying, very powerfull tool to have. 😉 Greetings, Francisco
-
Send event with negative value parameter
Thank you Sir. Will test tomorrow. Greetings
-
Send event with negative value parameter
Good day to all , I am struggling to execute RPN : -120·(>K:ROTOR_LATERAL_TRIM_SET). or 120 ·1/-/ ·(>K:ROTOR_LATERAL_TRIM_SET) works ok with positive input like 4000·(>K:ROTOR_LATERAL_TRIM_SET) Sure it is my fault at RPN notation.... Also tried JSCRIPT : (K:ROTOR_LATERAL_TRIM_DEC).exec(-120); Not work. Solved with a for loop using (K:ROTOR_LATERAL_TRIM_DEC).exec(1); ( done n times , n=120 in the example. Please some advice for doing directly , if posible. Thank you