Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » State machine execution in Moka(Not able to execute state machine in Moka)
State machine execution in Moka [message #1623760] Thu, 19 February 2015 10:04 Go to next message
Abhijit Deshpande is currently offline Abhijit DeshpandeFriend
Messages: 11
Registered: December 2014
Junior Member
Hi,

I am using Papyrus from Eclipse Luna for modeling and Moka for model execution. Even though, I could execute sample model available at https://wiki.eclipse.org/Papyrus/UserGuide/ModelExecution using Moka; this model uses only activities.

And, when I tried to execute my own state machine based model; moka failed with error "An unexpected error occurred during execution. See error log for details". Here I have couple questions:

1. Does moka support model execution with state machine? If yes, is there any sample model available to try out?
2. Where can I find "error log" mentioned in moka error message? I checked papyrus console etc., but there were no errors.

Thanks,
Abhijit Deshpande
Re: State machine execution in Moka [message #1623766 is a reply to message #1623760] Thu, 19 February 2015 10:08 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 943
Registered: February 2011
Senior Member
Hi,

Quote:
1. Does moka support model execution with state machine? If yes, is there any sample model available to try out?


Not yet: State Machines are not part of fUML (Which currently includes Class, Activities, and an extension for Composite Structures). However, there is some work in progress for adding a StateMachine extension in fUML.

Quote:
2. Where can I find "error log" mentioned in moka error message? I checked papyrus console etc., but there were no errors.


Window > Show view > Error log

Regards,
Camille


Camille Letavernier
Re: State machine execution in Moka [message #1623775 is a reply to message #1623766] Thu, 19 February 2015 10:13 Go to previous messageGo to next message
Abhijit Deshpande is currently offline Abhijit DeshpandeFriend
Messages: 11
Registered: December 2014
Junior Member
Hi Camille,

Thanks a lot for the quick response. So, is there any other way (tool) to execute state machine in Papyrus?

Regards,
Abhijit
Re: State machine execution in Moka [message #1624945 is a reply to message #1623775] Fri, 20 February 2015 04:03 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

Hi Abhijit,

The recently proposed Papyrus for RealTime project will be able to generate code to execute a state machine, albeit with some limitations. However, you'll have to wait for the Mars release (June 2015) for the first release.


/Charles Rivet
Re: State machine execution in Moka [message #1840678 is a reply to message #1623760] Wed, 21 April 2021 22:27 Go to previous messageGo to next message
Albert Johnson is currently offline Albert JohnsonFriend
Messages: 6
Registered: June 2020
Junior Member
Hello,

I am bringing back this topic because I would like to know if now it is possible to execute state amchine diagram in Moka. When I try to do it I have the same error as mention in the very first post.

Also, if it is now possible to simulate, is it possible for the state machine to communicate between each other through signals?

Thank you.

Albert
Re: State machine execution in Moka [message #1840723 is a reply to message #1840678] Thu, 22 April 2021 12:11 Go to previous messageGo to next message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 76
Registered: November 2016
Location: Paris Saclay, France
Member
Hello Albert,

Yes it is now possible to simulate State Machine Diagrams.

Concerning the exception you get, can you give us a stack trace ? Can you check that your State Machine property isActive has been set to true ?

Best regards,
Pauine
Re: State machine execution in Moka [message #1840731 is a reply to message #1840723] Thu, 22 April 2021 23:12 Go to previous messageGo to next message
Albert Johnson is currently offline Albert JohnsonFriend
Messages: 6
Registered: June 2020
Junior Member
Hello Pauline,

Indeed, I did not activate the isActive property, thank you!
Re: State machine execution in Moka [message #1841214 is a reply to message #1840723] Thu, 06 May 2021 16:10 Go to previous messageGo to next message
Manuel Malagon is currently offline Manuel MalagonFriend
Messages: 61
Registered: December 2011
Member
Pauline Deville wrote on Thu, 22 April 2021 08:11
Yes it is now possible to simulate State Machine Diagrams.


Pauline,

Is there any documentation on how to do this? Simulating state machine diagrams is something that would be of great benefit to me but I have absolutely no idea how to even begin doing this.

Thanks!
Re: State machine execution in Moka [message #1841552 is a reply to message #1841214] Thu, 20 May 2021 12:04 Go to previous message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 76
Registered: November 2016
Location: Paris Saclay, France
Member
Hello,

We are sorry but this documentation has not been written yet because of projects constraints.

Brest regards,
Pauline
Previous Topic:Problem with Papyrus 20-12 and Sysml 16.
Next Topic:[Designer] Generate C++ code in headless mode
Goto Forum:
  


Current Time: Mon Jun 14 07:21:15 GMT 2021

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

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

Back to the top