Skip to main content

Getting started with IBM Rational Rhapsody

Paul Urban (purban@us.ibm.com), Rational Rhapsody and Medical Device Industry Marketing Manager, IBM Corporation
Paul Urban has developed systems, software, and hardware in the embedded and real-time systems industry for more than 20 years. He is a senior marketing manager for IBM systems and medical devices. He has worked with Rhapsody software since 1995 in various roles, including as an application engineer, consultant, and product marketer. Previously, Paul developed custom hardware for high-performance computing applications.

Summary:  This guide is part of the IBM® Rational® Rhapsody® trial package. It provides animated examples (using video) to show you exactly what performing basic tasks using Rhapsody looks like. The models used are all installed with Rhapsody, so you can also replicate the examples yourself.

Date:  02 Jun 2009
Level:  Introductory PDF:  A4 and Letter (27KB | 7 pages)Get Adobe® Reader®
Comments:  

These visual demonstrations of Rhapsody guide you through that awkward stage of unfamiliarity with a new application. You'll watch demonstrations that answer these kinds of questions:

  • How do I open an existing project and look at diagrams?
  • How do I start a new model?
  • How do I create a diagram?

These examples also show how easy it is to do some of the more advanced tasks, such as animating a model, which is one of the most important capabilities of Rhapsody.

After you have seen these demonstrations and have replicated the sequences that they show yourself, you will be able to progress easily to the detailed tutorials provided with Rhapsody. Those tutorials lead you step-by-step through topics such as using Rhapsody for code generation and systems engineering modeling.

The examples here are not intended to show all of the capabilities of Rhapsody as a model-driven software development tool, of course.

Downloading and installing the Rational Rhapsody trial

A no charge trial of Rational Rhapsody is available for download here.

Get the download

Follow the prompts to register for the download of the product. You will have the option to choose to download the Windows or the Linux version of Rational Rhapsody. Also, Rational Rhapsody requires a license key to run. Select to download the evaluation license key. Save the license key file onto your computer. When Rational Rhapsody starts you will be prompted for the location of the license file and browse to where you stored the evaluation key.


Animating a model in Rhapsody

Executing a model is the best possible way to test it or to understand its behavior, so that is one of the most important capabilities of Rhapsody. These two examples, one for C/C++ and one for Java, highlight how to use Rhapsody to visualize the interactions between elements in a model. These examples also show how to open an existing model and navigate around it, opening diagrams and examining information stored in the model but not present on the diagrams.

The Rhapsody sample projects also show how to develop a GUI to interact with and test the animated model. In the case of Java, the GUI implementation is also part of the model itself.

Animating the Radio model

The Radio model is provided in the Rhapsody samples in C and C++ flavors.

The "Animating the Radio model" video demonstration shows the following steps for the C++ language:

  1. Open the Radio model

  2. View diagrams

  3. Animate the Radio model

  4. Run the animated model

  5. Animate a state chart

  6. Generate events

  7. Create an animated sequence diagram

If you want to animate the C version of Radio, open that model and follow the same steps.

Animating the HomeAlarm model

The HomeAlarm model is provided in the Java implementation in these Rhapsody samples.

Prerequisite:
If you want to animate the HomeAlarm model yourself, a Java JDK must be installed on your PC.

The "Animating the HomeAlarm model" demonstration shows the following steps:

  1. Open the HomeAlarm model

  2. View the diagrams

  3. Animate the HomeAlarm model

  4. Run the animated model

  5. Animate a state chart

  6. Generate events

  7. Create an animated sequence diagram

Starting a project and creating diagrams

This example demonstrates how to start your own new project and create a model in it. The "Creating a new model" video shows these steps and describes several new diagrams:

  1. Create a project

  2. Create a new package for your model

  3. Create a use case diagram with four use cases and two actors

  4. Edit the description of one of the use cases

  5. Add a comment to the diagram

Summary

IBM Rational Rhapsody is a model-driven development environment for systems engineering and software development. The video demonstrations in this Getting Started guide show you how to perform basic tasks, which makes using Rhapsody for the detailed tutorials easier. However, even the basic animation examples provided here show you how Rhapsody can help you understand an unfamiliar model or testing the model at an early stage of development.


For more information

Documentation and examples are installed with Rhapsody:

  • Start with Help Topics in the Help menu.

  • Documentation is available through the Rhapsody Help menu List of Books entry, which. includes several elements:
    • Installation guide

    • Release notes (also called "Readme")

    • Detailed tutorials for systems engineering, C, C++, Java™ (including code generation)

    • Full product documentation

  • Sample models are installed with Rhapsody in the Samples subdirectory below the installation directory. On the Microsoft® Windows platform, this directory is here if Rhapsody is installed in the default location:
    C:\Program Files\IBM\Rational\Rhapsody\7.5\Samples


Downloads

DescriptionNameSizeDownload method
Animating the home alarm modelanimating_the_homealarm_model_20090522_viewlet_swf.htm17,000KBHTTP
Animating the radio modelanimating_the_radio_model_20090522_viewlet_swf.html7,300KBHTTP
Creating a new modelcreating_a_new_model_20090522_viewlet_swf.html4,700KBHTTP

Information about download methods


Resources

Learn

Get products and technologies

Discuss

About the author

Paul Urban has developed systems, software, and hardware in the embedded and real-time systems industry for more than 20 years. He is a senior marketing manager for IBM systems and medical devices. He has worked with Rhapsody software since 1995 in various roles, including as an application engineer, consultant, and product marketer. Previously, Paul developed custom hardware for high-performance computing applications.

Comments



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=436505
ArticleTitle=Getting started with IBM Rational Rhapsody
publish-date=06022009
author1-email=purban@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).