Preparing Rational Rhapsody models for integration

About this task

To synchronize a IBM® Rational® Statemate® model with IBM Rational Rhapsody®, the Rational Rhapsody model must have the following characteristics:

Perform the following operations in Rational Rhapsody to prepare the Rational Rhapsody model for Rational Rhapsody:

Procedure

  1. Open the Rational Rhapsody model. If you want to show Rational Rhapsody animation in Rational Rhapsody, be certain to select the GBA option from the Rational Rhapsody MicroC profile options.
  2. To set the required properties in Rational Rhapsody before generating code:
    1. Open the Rational Rhapsody MicroC Code Generator.
    2. Select Options > Settings > Application Configuration > Application Files.
    3. In the Application Files window, select both of the Generate Code in a Single File and Generate Code as Statemate Block items.
    4. Click OK.
  3. Generate the C code using the Rational Rhapsody MicroC Code Generator.
  4. In the Rational Rhapsody main interface, select the Files tab and:
    1. Select a Rational Rhapsody MicroC code generator profile.
    2. Select the menu item: Configuration > Create Statemate Block Configuration for Rhapsody > Read mode/Update mode.

Feedback