IBM
Contents Index Previous Next



The Simulator Monitor


A simulator generated by the SDL Suite consists of two main parts; the application itself (the simulated SDL system), and an interactive monitor system. The monitor system is the interface between the user and the simulated system. For more information on the structure of a simulator and the features of the simulator monitor, see Structure of a Simulator.

Monitor User Interfaces

Two different user interfaces are provided for the simulator monitor, a textual and a graphical.

The textual interface only allows commands to be entered from the keyboard, using the syntax described in the section Syntax of Monitor Commands.

The graphical interface still allows commands to be entered from the keyboard in the same way, but also provides buttons, menus and dialogs for easy access to commands and other features.

The textual interface is invoked by executing the generated simulator directly from the operating system prompt. This is called running a simulator in textual mode. When started, the simulator responds with the following text:

Welcome to SDL SIMULATOR. Simulating system <system>

Command :

Another prompt may appear if the SDL system contains external synonyms. For more information, see Supplying Values of External Synonyms.

Note:

Before a simulator can be run in textual mode on UNIX, a command file must be executed from the operating system prompt. The file is called telelogic.sou or telelogic.profile and is located in the binary directory that is included in the user's path.
For csh-compatible shells: source <bin dir>/telelogic.sou
For sh-compatible shells: . <bin dir>/telelogic.profile

The graphical interface, known as the Simulator UI, runs in a separate window. It is started from the Organizer by selecting SDL > Simulator UI from the Tools menu. The Simulator UI is described in Graphical User Interface.

If a file called siminit.com exists in the current directory an implicit Include-File command will be done on this file at startup.

Activating the Monitor

Commands can be issued to the interactive monitor system when it becomes active. The simulator's monitor system becomes active:

Note:

No other characters may be typed before <Return> is pressed.


http://www.ibm.com/rational
Contents Index Previous Next