Author Topic: Smart Start Timer  (Read 335 times)

0 Members and 3 Guests are viewing this topic.

_trainski

  • Posts: 8
  • Respect: +2
Smart Start Timer
« on: October 19, 2024, 02:07:32 AM »
+1
I have been working on adding a Smart Start Timer to LokSound 5 sound bulletins without this feature. I copied a known working Smart Start Timer sequence to an empty sound slot, removed any associated .WAV audio files, and saved it as a blank Smart Start Timer in the Template Folder. Then I load a sound bulletin without a Smart Start Timer, select sound slot 2 and copy the blank Smart Start Timer sequence to sound slot 2. Right Click on sound slot 2 to edit, copy (Shift Click) the Smart Start container, the “S” container, and the (3) connected transition nodes. Now Right Click on sound slot 1 “Prime Mover” to edit, set zoom level to 30%, click above the “MS” container in the open space and paste the Smart Start Timer into the page. At this point a few important connections must be reconnected, audio files in “S” container reconnected, and runtime actions cleaned up. Sound CV14 controls the length of the Smart Start Timer, 1 = 1 minute, 3 = 3 minutes, etc.

This process is very effective, yields great results, but warrants a working knowledge of LokSound 5 sound bulletin programming logic. If anyone wants more details please be kind to reach out and let me know.

Thanks to Peteski for inspiring me to keep going and figuring it out!

Cheers!

peteski

  • Crew
  • *
  • Posts: 32808
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5257
    • Coming (not so) soon...
Re: Smart Start Timer
« Reply #1 on: October 20, 2024, 11:26:17 PM »
0
I'm glad to hear that, but I must be getting forgetful - what is a "smart start timer"?
. . . 42 . . .

_trainski

  • Posts: 8
  • Respect: +2
Re: Smart Start Timer
« Reply #2 on: October 20, 2024, 11:37:28 PM »
0
The Smart Start (timer) is a prime mover automatic shutdown sequence that runs when the locomotive is idle. The duration of time on and time off is controlled by SoundCV14 or CV168. I sincerely hope this better explains this LokSound 5 feature.

Cheers 🚂

peteski

  • Crew
  • *
  • Posts: 32808
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5257
    • Coming (not so) soon...
Re: Smart Start Timer
« Reply #3 on: October 20, 2024, 11:53:26 PM »
0
The Smart Start (timer) is a prime mover automatic shutdown sequence that runs when the locomotive is idle. The duration of time on and time off is controlled by SoundCV14 or CV168. I sincerely hope this better explains this LokSound 5 feature.

Cheers 🚂

Ah, thanks trainski!
. . . 42 . . .

OrangeAnon

  • Posts: 2
  • Respect: 0
Re: Smart Start Timer
« Reply #4 on: October 28, 2024, 11:09:23 PM »
0
I found that on the file I tested, S0523, changing the timer had no influence on how long the prime mover ran; it was always about 5 and a half minutes. Setting the timer to 1 gave me 2 minutes of down time, setting the timer to 2 gave me 3 minutes of down time.
"Intervals of your choice" is not correct given you can only influence the down time, and it's certainly not in multiples of 3 minutes.

The transition into the Smart Start container can only be done from low idle, and the condition "User3 >= 4" means the time period of the engine running is fixed, and not influenced by the Smart Start timer sound CV.


The length of time in Smart Start is determined by User3 and Timer1. User3 is adjusted with the Smart Start timer sound CV. Set the sound CV to 2, and User3 will be set to 2 upon entering Smart Start. The timers run on intervals of .25 seconds, and here Timer 1 runs cycles of 240; 1 minute. Every time Timer1 reaches 0, User3 decreases by 1 and Timer1 resets to 240. Once both User3 and Timer1 reach 0, Smart Start ends.


In reality, sound CV14=1 is a 2 minute down time, and each increase simply adds one more minute. Setting 255 should be a 256 minute down time, not 765.