If you are looking for inter state-machines communication using AMUSE, following example should help.

pinpong

It’s a kind of “Hello World” for multiple machines, simplest possible example Winking smile
Two state machines fires triggers to each other: Ping fires ping trigger and receives pong trigger and pong works another way around.

1. Download XMI
2. Create an empty Enterprise Architect project
3. Import XMI
4. Open ping and pong state machine diagrams
5. Add both to AMUSE simulation window
6. Start pong first then ping
7. if initial ping wasn’t caught, fire first trigger manually via trigger menu
8. watch the ping/pong counters

inter state-machine communication using AMUSE
Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

AMUSEvsRhapsody

I would like to share the brief feature-comparison between Enterprise Architect enhanced by AMUSE and Rhapsody. The comparison is based on the public available information:
http://www-01.ibm.com/software/rational/products/rhapsody/sysarchitect/ and
http://www-01.ibm.com/software/rational/products/rhapsody/developer/

EA/AMUSE vs. Rhapsody Architect/Designer for Systems Engineers

Features EA+AMUSE Rhapsody
Designs and behavior using SysML or UML UML 2.3 / SysML 1.1 UML 2.x / SysML 1.1
Simulate behavior to validate functionality AM|USE supports simulation of state machines and activity diagrams as long as activity is set as behavior of a state or as affect of transition. The standalone activity diagrams will be supported in the next version coming middle of this year yes
Capture requirements EA provides full-blown solution for requirement engineering yes but restricted by inflexible model storage and model structure
Capture structured scenarios EA provides functionality for capturing scenarios as plain text but also in structured form with the option of automatic diagram generation (activity-, sequence- or state-diagrams ) no
Requirements analysis and traceability to design, implementation and test artifacts Standard EA functionality yes
Flexible Model Storage Model can be stored as
- local single project file
- network shared single project file
- multiple XML files
- single or distributed DBMS supported: MSSQL Server, MySQL, Oracle, PostgreSQL, Progress OpenEdge, MSDE, Adaptive Server Anywhere
multiple storage files
Project development and task management incl. resources management Standard EA functionality no

(weiterlesen…)

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Currently we are working on the Beta Version of the upcoming 1.6 Version of LieberLieber AMUSE for Sparx Systems Enterprise Architect.

We will have a feature to validate your state machine against a scenario defined in a Sequence Diagram.

 

sdforatm

This sequence Diagram could be used against the ATM Sample from our AMUSEExamples.eap

image

So we will have the ability to validate state machines against given Scenarios.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Today I learned that our Statemachine Simulation AMUSE for Sparxsystems Enterprise Architect has been featured on a Japanese Blog!

image

If you can handle Japanese have a nice read!

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

We use our build environment with Teamcity to automatically publish the contents of the AMUSE .chm file to our webpage whenever we edit something and commit it into Subversion! – Still we will continue to ship chm files with our installer!

http://www.lieberlieber.com/amuse/help/

image

This is pretty nice because our customers have instant access to the “latest” Help file. It should take roughly 4 minutes after commit – until the changes are reflected on the webpage.

If you want to see specific content you can use “direct” links like: http://www.lieberlieber.com/amuse/help/index.htm#page=My_first_statemachine_in_5_minutes.htm

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

This time in German – because we Target a “german speaking” audience!

Praktikum: Simulation von UML Modellen
Integration des Framework qp in die Simulationsumgebung
AMUSE der Fa. LieberLieber

Das Entwicklen komplexer Systeme ist zeitaufwendig und fehleranfällig. Eine gute Planung (Modellierung) kann helfen die Komplexität in den Griff zu bekommen. Durch Simulation der erstellten Modelle kann eine Validierung der Logik des zu entwickelnden Systems sichergestellt werden.

clip_image004clip_image006clip_image008

Die Firma LieberLieber hat für das Modellierungswerkzeug Enterpreis Architect von Sparx Systems ein Plug-in (AMUSE) entwickelt um UML Zustandsautomaten zu simulieren. Jeder UML konforme Zustandsautomat kann ausgeführt werden und das Laufzeitverhalten (aktive Zustände und Zustandsübergänge) werden in Enterprise Architect visualisiert. Zusätzlich können beliebige externe Bibliotheken eingebunden werden. Damit können externe Stimuli (Events) erzeugt werden, auf die der Zustandsautomat reagiert, bzw. Aktionen (Operationen) externer Bibliotheken aufgerufen werden. Damit können externe Systeme gesteuert, bzw. das Verhalten des Zustandsautomaten durch alternative GUI-Mocks visualisiert werden.

Die Simulation basiert auf generiertem C# Code. Dieser Code wird aus dem Zustandsautomaten generiert, ausgeführt und im Enterprise Architect visualisiert. Detailliertere Informationen zu AMUSE finden Sie hier:

clip_image010

Das Framework qp (http://www.state-machine.com/) bietet einen umfassenden Rahmen für die Entwicklung ereignisgetriebener Softwaresysteme in C/C++. Dabei müssen lediglich Zustände und Zustandsübergänge (Zustandsautomaten) codiert werden. Das Framework übernimmt anschließend die Ausführung.

Aufgabe des Praktikums ist es, die Codegenerierung von AMUSE an das Framework qp anzupassen. Zustandsautomaten werden im Enterprise Architect modelliert, bei der Simulation wird qp Code generiert und ausgeführt. Der generierte Code kann anschließend direkt in Embedded Systems verwendet werden.

Voraussetzungen:

· UML Kenntnisse

· C/C++ Kenntnisse

· qp Kenntnisse (erwünscht, nicht vorausgesetzt!)

Lernziel des Praktikums:

· Tiefes Verständnis von ereignisorientiertem Programmieren

· Vertiefende Einblicke in das Thema Simulation von UML

· Praktisches Arbeiten mit dem Framework qp und Enterprise Architect

Bei Interesse melden Sie sich bitte bei: daniel.siegl@lieberlieber.com

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

On the Sparx Systems Enterprise Architect Community Site currently there are two Articles featuring LieberLieber AMUSE – one is from me – the other one from Dunstan Thomas.  Our regular Readers will know them already, yet we like the opportunity to be “featured” on a world wide community!

clip_image002

LieberLieber AMUSE 1.5 – Released – Simulating Statemachines with Enterprise Architect 8

An Overview of AMUSE

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg