Book a Demo

Author Topic: Statecharts  (Read 13649 times)

MAC

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Statecharts
« on: October 19, 2010, 02:36:59 am »
Hellow,

I'm new on using Enterprise Architect and made just a few small project with it. I searched in the forum but haven't found what I was looking for:
Is there a possibility to design statecharts with Enterprise Architect? An if, is there a step by step turtorial? I only found the statemachine. I'm specially interested in orthogonal & parallel states.

Futuremore: How can I design a state machine without generate a class first? I'd like to have a statemachine in c-code, but don't know how to build it :-[ (turtorial?)

I use EA 8.0.856 Ultimate Edition


DanG83616

  • EA User
  • **
  • Posts: 180
  • Karma: +0/-0
    • View Profile
Re: Statecharts
« Reply #1 on: October 19, 2010, 11:39:55 am »
Type "State, Diagram" into the User Guide Index keyword find box.

MAC

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Statecharts
« Reply #2 on: October 19, 2010, 05:54:17 pm »
Thank you!
This entry I've sudied a lot of times, unfortunately I cannot find what I'm looking for. So is EA not able to build statecharts?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Statecharts
« Reply #3 on: October 19, 2010, 05:58:03 pm »
MAC,

Please define statechart. It seems like your definition differs from ours (= UML State Diagram)

Geert

MAC

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Statecharts
« Reply #4 on: October 19, 2010, 06:16:56 pm »
Yea, I is a state diagram, but the help I found sems to be a state machine to me.
I need to design hierarchical and parallel states :-) I can design joins and forks but in the code, it do not have an effect.
Perhaps I need to do a course first

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Statecharts
« Reply #5 on: October 19, 2010, 06:31:04 pm »
So you want to create a state diagram in EA and generate code from it am I right?

There have been a couple of questions about that in the forum lately. (use top left search button to find them)
From what I remember, you have to create a class, create a nested statemachine, and create the diagram in there.

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Statecharts
« Reply #6 on: October 20, 2010, 09:11:21 am »
I'm guessing that you might have already seen this page:

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/statediagram.html

but it does explain the relationship between State diagrams, State Machine diagrams and State Charts, and it links to the following topic on generating SW code from State Machine diagrams.

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/software_development/code_generation___state_machin.html

These are applicable to build 856 of release 8.0.
Best Regards, Roy