Can a List of Commands be Created?

Is there a way to create a list of commands, then when giving a train instructions, just give it the list?

Here is a typical example:

I am running a commuter train. The instructions are "Drive to A", "Wait for 2 minutes", "Drive to B", "Wait for 2 minutes", "Drive to C" etc. After getting to the end of the list, the train repeats these steps over and over. Do I need to enter every command each time, or can I enter them once and save them as a macro?

Thank you
Dean
 
Use the schedule library, you can put every separate set of commands you need. Name them so you know what's what.
You give the driver the copy commands from-library-set 1 (for eg) and off they go following the list you created in the library.
 
Yes. In Surveyor you will need to add the Schedule Library (kuid2:192081:12:4) to the list of rules available for the session. Then use it to create a named list of commands that you want to execute. You will also need add Copy Commands From (<kuid2:192081:1:6>) and Enable Repeat (kuid2:192081:2:3) to the list of available Driver Commands. Then in driver you use Copy Commands from to choose the list of commands from the library that you want to execute and the Repeat to (what else?) repeat them.
 
At the end of a series of comments in the schedule library, I placed the repeat comment, hoping that would be repeated. I was trying to have some preliminary comments executed once by the driver and then the commands in the library would be repeated.

That didn't happen, The repeat in side the library was ignored. Is this by design or is there another way to do this?
 
Yes, repeat command don't work. On the last place put Copy command from again for the same command, Fran said set 1 (for eg)

regards
celje
 
on a saved session

I've noticed the repeat command has gone on. Just needs replacing on each re start.
 
Oh my English
In the library make the schedule and save them under the name e.g. set1. Confirm this and exit. Then open set1 again and on the last place right click-copy command-insert-From library-click set1 and save again. Schedule will work nonstop.
I hope that this help.
 
Last edited:
Oh my English
In the library make the schedule and save them under the name e.g. set1. Confirm this and exit. Then open set1 again and on the last place right click-copy command-insert-From library-click set1 and save again. Schedule will work nonstop.
I hope that this help.

Your English is fine however the theory above is flawed. That way the schedule will be done twice only.
I agreed with the idea until I just tried it and looked at it on screen.
However all that needs to be done is keep putting copy commands from library in every now and again.
 
I don't understand what doaes it mean and you said that my English is fine. Can please tell me what does it mean with another words,.

It means OK , it's as far as I know a local (Lancashire) term OK Dokey (same thing).
 
Using 'Enable Repeat' driver command

You will also need add Copy Commands From (<kuid2:192081:1:6>) and Enable Repeat (kuid2:192081:2:3) to the list of available Driver Commands. Then in driver you use Copy Commands from to choose the list of commands from the library that you want to execute and the Repeat to (what else?) repeat them.

Nobody seems to have understood Rick282's instructions. The "Enable Repeat" command is not the same as using the built-in repeat which is listed at the top of the driver command menu.

Add this to the driver Setup rule and check the box. Then, in the schedule library rule, add the "Enable Repeat" command at the begining of the entry. This switches on the repeat function. If you add it in the middle then only those commands after "Enable Repeat" will be repeated.

Celje's method also works, by recalling the library entry after completing the list of commands.

Hope this clears things up.

Trevor
 
Then, in the schedule library rule, add the "Enable Repeat" command at the begining of the entry.
Trevor

If we are talking about driver command 'EnableRepeat' (icon infinity, horizontal 8), it's not accurate, sometimes it make the double or more schedules when repeating start. I gave up in the past, now i use solution as i describe in #7.

regards
 
Last edited:
Back
Top