IBM
Contents Index Previous Next



Introduction


Purpose of This Tutorial

This tutorial presents how to use the SOMT method and the SDL Suite in practise in a design process.

The working example is an Access Control system. The system shall control the entrances to an office. Each employee working in the office has a card and a personal code. To enter the office, the employee enters a card into a card reader and types a personal code on a keypad. To exit the office the employee presses an exit button.

You will perform the development process for the Access Control system applying the SOMT method. The tutorial will guide you through the development process step by step presenting a number of hands on exercises for you to perform. The tutorial is expected to be read sequentially.

After reading the tutorial, you should have gained knowledge about how to apply the SOMT method on a development process.

Note: Platform differences

This tutorial, and the others that are possible to run on both the UNIX and Windows platform, are described in a way common to both platforms. In case there are differences between the platforms, this is indicated by texts like "on UNIX", "Windows only", etc. When such platform indicators are found, please pay attention only to the instructions for the platform you are running on.

Normally, screen shots will only be shown for one of the platforms, provided they contain the same information for both platforms. This means that the layout and appearance of screen shots may differ slightly from what you see when running SDL Suite on your platform. Only if a screen shot differ in an important aspect between the platforms, two separate screen shots will be shown.

Required Skills

It is assumed that you have a basic knowledge about UML and SDL. We also recommend newcomers to acquaint themselves with the basic features of the SDL Suite tools. You can do this by practising on the exercises in the tutorials provided for the different tools. Please see the previous chapters in this volume.

It is recommended that you have read the SOMT Methodology Guidelines starting in chapter 69 in the User's Manual.

Preparations

  1. Make a new empty directory of your own for the purpose of this tutorial, e.g. ~/somttutorial (on UNIX) or C:\IBM\Rational\SDL_TTCN_Suite6.3\work\somttutorial (in Windows).
  2. Copy the SOMT tutorial directory and its subdirectories in $telelogic/sdt/examples/somttutorial (on UNIX), or C:\IBM\Rational\SDL_TTCN_Suite6.3\sdt\examples\somttutorial (in Windows), into this new directory (contact if necessary your system manager).

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. On UNIX, cd to your own subdirectory somttutorial
  2. Start SDL Suite.
  3. Specify the source directory for the system by double clicking on the Source directory symbol located second uppermost in the Organizer window. The source directory specifies where new documents that you have created are saved by default, and from where to read when opening and converting documents. Since there are multiple versions of the Access Control system, each version with diagrams stored on files with identical names (but in different directories), omitting to specify the source directory may cause the wrong version of a file to be opened.
  4. In the Set Directories dialog that is opened, select the third radio button associated with Source directory. In the text field, enter the complete path and name of your own somttutorial directory, if it is not there already. Press OK to close the dialog. (You do not have to change any of the other options in this dialog.)

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