Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

reset button in sim

Featured Replies

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

  • 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

  • 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

  • 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 by Lorby_SI

LORBY-SI

  • 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
🙂

  • 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 by Lorby_SI

LORBY-SI

  • Author

that's cool, I hadn't tried it

"Scripting->Run RPN Scripts"

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.