Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » Local transitions(Changing from one state to another state through local transition)
Local transitions [message #1800836] Tue, 08 January 2019 16:21 Go to next message
Eclipse UserFriend
Given a simple state machine as attached, it is understood that it can change from State1 to State2 under the following cases:
1. Through protocols defined as external events/triggers (out messages)
2. By using a timer in State1 and on timeout, it can change to State2

Please clarify if there is a way to change from State1 to State2 through local transition (say based on a value of a variable while in State1) and provide more details/exmaples (if any)
  • Attachment: SM.png
    (Size: 10.65KB, Downloaded 165 times)
Re: Local transitions [message #1800929 is a reply to message #1800836] Wed, 09 January 2019 18:22 Go to previous messageGo to next message
Eclipse UserFriend
No, there is no way to change from one state to another other than through messages received through a port (this includes 'in' messages in a base port, 'out' messages in a conjugated port and timeout messages on a Timing port). In particular you cannot change from one state to another using instance attributes/variables.

[Updated on: Wed, 09 January 2019 18:22] by Moderator

Re: Local transitions [message #1800933 is a reply to message #1800929] Wed, 09 January 2019 20:35 Go to previous message
Eclipse UserFriend
Thanks for the clarification!
Previous Topic:Transition name from different states to the same state
Next Topic:Multiple instances of an attribute (Capsule/StateMachine)
Goto Forum:
  


Current Time: Thu May 22 02:35:04 EDT 2025

Powered by FUDForum. Page generated in 0.28009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top