I am using Rhapsody in C.
Imagine a statechart with 3 states: state 1, state 2 and state 3.
Assume that I am in state 1.
How can I implement the following scenario? I mean, I dont know where should I write these conditions so that following scenario is satisfied.
Scenario: I enter state 1. Now,
if (condition 1)
if (condition 2)
myVariable = 10; //set the value of a variable
if (condition 3)
goto state 2
goto state 3
Can someone attach a sample project illustrating this?
Pinned topic Nested if for transition in statemachine
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-07T15:08:38Z at 2013-02-07T15:08:38Z by SystemAdmin