April 6, 20233 yr Good morning Google Translate why when i click on the SimConnect led or i modify a script or assign a button, and then i come back in the simulator some button resets THANKS
April 6, 20233 yr Commercial Member Just now, ptimale said: why when i click on the SimConnect led or i modify a script or assign a button, and then i come back in the simulator some button resets Sorry, I don't understand. What does that mean exactly? What simulator? Which Button? What is the sequence of events? In general, whenever you make significant changes in AAO it will reload the entire aircraft configuration. Everything in the configuration will be reset to the initial state. LORBY-SI
April 7, 20233 yr Author 21 hours ago, Lorby_SI said: In general, whenever you make significant changes in AAO it will reload the entire aircraft configuration. Everything in the configuration will be reset to the initial state. Good morning yes that's the problem if in my rpn script I do not make a condition condition the button will be reset Is there a way to circumvent this problem? thank
April 7, 20233 yr Commercial Member 6 minutes ago, ptimale said: Is there a way to circumvent this problem? No. This is not a "problem", it has been made this way on purpose to avoid concurrency issues and race conditions. You never know what change the user made, so better be safe than sorry and reload everything from scratch. But isn't this only relevant while you edit a configuration? In normal operations it shouldn't be a problem at all, because the need to reconnect just isn't there - right? In a normal flight AAO is minimized (highly recommended!) and you are not messing with the GUI or scripts at all. Am I missing something? Edited April 7, 20233 yr by Lorby_SI LORBY-SI
April 7, 20233 yr Author yes I agree during the normal use of AAO but when you make scripts, it's disturbing to have to restart each time the systems that have been reset🙂
April 7, 20233 yr Commercial Member 8 minutes ago, ptimale said: but when you make scripts, it's disturbing to have to restart each time the systems that have been reset It is what it is. Scripts are very powerful, and depending on what you are doing, you can break the current configuration or make the program crash. For example, when you decide to rename a script or a group. That is why everything is reset and read again fresh from the database. I never found this to be annoying. When I am editing scripts I don't really care what else happens. When I am finished editing I usually disconnect and then reconnet anyway, to have a clean slate to test. The integration test is done with "Scripting->Run RPN Scripts" (=with a simple doubleclick) instead of the editor. But then again, I don't have the problems that you seem to have. All simulator variables remain what they were, no matter if AAO is reset or not. Edited April 7, 20233 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.