13.07.2015 Views

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Simulator Reference12.6. SCRIPT FILE FORMAT12.6.1. General FormatOne command is allowed per line. Command text is case insensitive. Blank lines areallowed. Comments can be entered by placing a '*' character at the leftmost column of aline.See “How To…Use Scripts” in the simulator’s Help file for more details on specific scriptfile commands.12.6.2. Special Considerations for Interactive ExecutionIf a script file is being executed interactively, the following commands are available:• SHOWTEXT - causes the specified text to be displayed on the program's status bar.Use this command to display user messages or instructions.• PAUSE - causes the program to update the user interface display and temporarilystop execution at this point in the script. Use this command to temporarily stop andview current status of track plans or other windows, or perform some operations notin the script.• UPDATE - causes the program to update the user interface display.These commands are ignored in non-interactive execution.The RUN, CYC and SIM commands are executed through the user interface ininteractive mode, so the display changes as the simulator cycles.For example:... perform some operations...* update the displayUPDATE... perform some more operations...* tell the user to do something and then pause script execution.SHOWTEXT "Signal should be clear. Set XX-DI True"PAUSE... when execution is resumed, the script starts here...In non-interactive mode, the user interface updates only at the very end of the script.P2512A, Rev. Oct/09 12–34 Alstom <strong>Signaling</strong> <strong>Inc</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!