Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:21 Go to next message
Selvaganesh Murugan is currently offline Selvaganesh MuruganFriend
Messages: 14
Registered: December 2018
Junior Member
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 147 times)
Re: Local transitions [message #1800929 is a reply to message #1800836] Wed, 09 January 2019 23:22 Go to previous messageGo to next message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 438
Registered: March 2011
Senior Member
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 23:22]

Report message to a moderator

Re: Local transitions [message #1800933 is a reply to message #1800929] Thu, 10 January 2019 01:35 Go to previous message
Selvaganesh Murugan is currently offline Selvaganesh MuruganFriend
Messages: 14
Registered: December 2018
Junior Member
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: Fri Dec 06 11:06:02 GMT 2024

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

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

Back to the top