IBM
Contents Index Previous Next



Some Preparatory Work


Instead of continue working on the original DemonGame system, we suggest you to continue from a version that is better designed for introducing SDL-92. The changes that have been made are the following:

From the user's point of view, the system will show the same functionality as before, but is more robust.

The new versions of the block GameBlock and the process Main are depicted below, in Figure 147 and Figure 148.

To use the new version:

  1. Make a new empty directory sdl92 of your own (under ~/demongame on UNIX, and under
    C:\IBM\Rational\SDL_TTCN_Suite6.3\work
    in Windows).
  2. Copy all files in the directory $telelogic/sdt/examples/demongame/sdl92/process_type (on UNIX), or C:\IBM\Rational\SDL_TTCN_Suite6.3\sdt\examples\demongame\sdl92\process_type (in Windows), to this new directory.

Note: Installation directory

On UNIX, the installation directory is pointed out by the environment variable $telelogic. If this variable is not set in your UNIX environment, you should ask your system manager or the person responsible for the SDL Suite environment at your site for instructions on how to set this variable correctly.

In Windows, the installation directory is assumed to be C:\IBM\Rational\SDL_TTCN_Suite6.3 throughout this tutorial. If you cannot find this directory on your PC, you should ask your system manager or the person responsible for the SDL Suite environment at your site for the correct path to the installation directory.

  1. Start the SDL Suite and open the system file -demongame.sdt in this new directory with the Organizer. (You will find copies of the diagrams building up the complete system).

You should recognize the system DemonGame, with the modifications as described above.

Nearly all versions of the diagrams shown in the following exercises are available in the directory you created above. You can either draw a diagram to learn how to use SDL-92 in the SDL Editor, or copy (or connect to) the pre-made version of the diagram if you do not wish to do this.

Figure 147 : The block GameBlock, redesigned

The exact layout of your diagrams may differ slightly from the above.

Figure 148 : The process Main, redesigned

The exact layout of your diagrams may differ slightly from the above.


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