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: 12
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 74 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: 381
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: 12
Registered: December 2018
Junior Member
Thanks for the clarification!
Previous Topic:Transition name from different states to the same state
Next Topic:Protocol Messages with user-defined datatype parameters
Goto Forum:
  


Current Time: Mon Aug 26 08:59:37 GMT 2019

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

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

Back to the top