Jump to content

reading variables into EV


Empfohlene Beiträge

I know this can be done, but not how.   I want to read the current speed of a locomotive and store it as a variable, then later set the locomotive speed back to that speed after stopping.     also,  I have some steep grades on my layout, and the locomotive slows down.  is there a way to keep the actual speed constant?

Link zu diesem Kommentar
Auf anderen Seiten teilen

try out the zipped file from here

you must store the current speed into a local variable by the signal. The _trigger event is for the moment to store the speed , so you can later assign the speed from the signal variable to the loco.

To get constant speed in steep grades you must deaktivate the automatic speed adjustment in the properties window.

regards,

Henry

Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen.

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...