Creating Rational Rhapsody SDL blocks 11. Enter the locations of the SDL model files you created previously, as shown in the following example: 12. Click Import/Sync . 13. To connect the Rational Rhapsody block to an SDLBlock, create a user class with behavior ports and a statechart. The statechart controls the user class’ sending and receiving of events to and from the SDLBlock. 14. Create objects from the SDLBlock and the Rational Rhapsody block and connect their ports via links using the interfaces that where created by the import. 15. To create an executable, perform a code generation and build on the entire Rational Rhapsody model. Code generation scope should contain only one SDLBlock.
Note Since the SDLBlock is imported as a “black box,” no animation is provided with this block. There is an option to view the behavior of the SDLBlock as a wrapper via a sequence diagram. This can be done by checking the AnimateSDLBlockBehavior property, located in the Model::Profile property group. Rational Rhapsody 293