Engineering

 View Only
Expand all | Collapse all

IBM Rhapsody: customize generated code for state machines

  • 1.  IBM Rhapsody: customize generated code for state machines

    Posted Mon March 14, 2022 12:13 PM
    Hello,
    Is it possible to customize the code generated for state machines in Rhapsody?
    If so, can you give me some pointers to useful resources?

    ------------------------------
    Mauro Fenelli
    ------------------------------


  • 2.  RE: IBM Rhapsody: customize generated code for state machines

    Posted Tue March 15, 2022 10:12 AM
    Edited by Todd Dunnavant Tue March 15, 2022 10:12 AM
    Hi, Mauro,

    I've also started a personal thread with you on this topic.

    I am in no way an expert on Rhapsody code gen, but I work with people who are.  I'm going to try to engage some of them to help you with your issue, once you reply back to me at my IBM email address.

    For starters, run a Google search on this topic:  Customize Rhapsody code generation.  You will find a substantial number of useful articles (and some videos) that describe Rhapsody's code generation process and how to tweak it.  One of the search hits is to a video provided by MBSETraining, which is a quite highly-respected UK-based partner for all things Rhapsody.  It's very hard to go wrong by working with those fellows.

    ------------------------------
    Todd Dunnavant
    ------------------------------



  • 3.  RE: IBM Rhapsody: customize generated code for state machines

    IBM Champion
    Posted Wed March 16, 2022 05:15 AM
    Hi Mauro

    I think it is safe to say that I am an expert on this, as Todd knows ;-)
    There are many ways to change the generated code in Rhapsody:
    - Using properties
    - Using post-processing
    - with the simplifier
    - Rules Composer

    The big question is: Why do you want to change the code? Is it not OK? Too Big? Too much?

    Kind regards

    Walter

    ------------------------------
    Walter van der Heiden
    ------------------------------