Jump to content
View in the app

A better way to browse. Learn more.

3D-Modellbahn Studio

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.

Featured Replies

Hallo,

ich finde den Fehler nicht ..... vielleicht sieht einer den Wald in den Bäumen.

Ich möchte in Abhängigkeit von Betreten oder Verlassen eines Gleises, einen GBS Baustein auf 0 oder 2 setzen.

Dazu rufe ich bei Betreten und Verlassen eines Gleises eine Benutzerdefinierte Aktion auf.
In dieser Aktion habe ich eine Liste mit den in Frage kommenden Gleisen.
Danach frage ich on ein beliebiges Fahrzeug auf einem der Gleise aus der Liste steht.
In Abhängigkeit des Resultats wird das GBS Signal auf 2 oder 0 gesetzt.

Soweit die Theorie ..... wenn ich es ausprobiere, bekomme ich eine Meldung die ich mir nicht erklären kann.
Ich habe mal einen Screenshot angeheftet.

Screenshot 2022-04-04 235431.jpg

Hallo Ralph,

die Fehlermeldung "attempt to index a nil value" bedeutet übersetzt, dass versucht wurde ein Element anzusprechen, dass nicht existiert.

Es existiert kein Feld "SB1_GBS"

Viele Grüße
Götz

Create an account or sign in to comment

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.