Jump to content
Zum Start hinzufügen

Weitere Informationen

3D-Modellbahn Studio

Eine Vollbild-App auf Ihrem Startbildschirm mit Push-Benachrichtigungen und mehr.

So installieren Sie diese App auf iOS und iPadOS
  1. Tippen Sie auf das Teilen-Symbol in Safari
  2. Scrollen Sie durch das Menü und tippen Sie auf Zum Startbildschirm hinzufügen.
  3. Tippen Sie oben rechts auf Hinzufügen.
So installieren Sie diese App auf Android
  1. Tippen Sie auf das 3-Punkte-Menü (⋮) in der oberen rechten Ecke des Browsers.
  2. Tippen Sie auf Zum Startbildschirm hinzufügen oder App installieren.
  3. Bestätigen Sie durch Tippen auf Installieren.

Empfohlene Beiträge

Geschrieben

While you have the hood up....

New Command : Filter Events; <OBJECT>;<OBJECT>;...... <OBJECT>

Create a dictionary for each port,  Set the dictionary to the list values if you receive this command.
Only send events for the objects listed in the dictionary to the current port, or default to ALL if the dictionary is empty.

This will significantly cut down the port traffic and make both ends more efficient.

My train controller plug-in works pretty well at the moment, but will be less so if the user has a slew of other events happening from the EV code, or there is another plug-in running.

Note: Certain events should not be filtered. e.g. Project Close, Load and the like.

Again... IDs would be better than names as an option.

Geschrieben

Hi Trevor,

filtering out events on the Studio side would currently not improve the performance, because the network interface is faster than the event management (when using localhost). This might change after the event management was optimized in a future version, but trying to synchronize a plugin to the Studio is a hard task due to the asynchronous concept of the network interface, so keep in mind that a better performance does not automatically solve all synchronization problems.

Kind regards,

Neo

Geschrieben
  • Autor
5 minutes ago, Neo said:

Hi Trevor,

filtering out events on the Studio side would currently not improve the performance, because the network interface is faster than the event management (when using localhost). This might change after the event management was optimized in a future version, but trying to synchronize a plugin to the Studio is a hard task due to the asynchronous concept of the network interface, so keep in mind that a better performance does not automatically solve all synchronization problems.

Kind regards,

Neo

Yes I do realize that NEO, but sending receiving and filtering through a bunch of "noise" seems counterproductive if it can be done at your end easily enough. I mean one of us has to do it.... and the CPU can only do so much...

Geschrieben
  • Autor

And I'm certain a ContainsKey is a lot quicker than all the overhead associated with transmission and reception by the time you add in all the thread wake up latencies.

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Push-Benachrichtigungen konfigurieren

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.