Engineering System Design

 View Only
Expand all | Collapse all

State Machine Transition Guards

  • 1.  State Machine Transition Guards

    Posted Thu February 04, 2021 10:50 AM
    Edited by Katherine Spencer Thu February 04, 2021 10:50 AM
    Is there any limit to what Rhapsody will accept as a Transition Guard on a State Machine?  We tried to set an exact date and time for the guard and we were unable to compile the simulation.

    Katherine Spencer

  • 2.  RE: State Machine Transition Guards

    Posted Fri February 05, 2021 08:07 AM
    The content of a transition guard should resolve to a boolean - true or false.   If it is a date you want to check, you could make that work if you had an operation or function you could call that checked that date and returned a true or false.

    Edmund Mayer
    Systems and Software Engineer
    IBM Engineering