The Blog for Rhapsody (Power) Users.

Month: July 2019

Task Force Rhapsody

Introduction

This week (and last week) I am in what the Germans call: “Ruhrpott” (or “Revier”, “Kohlenpott” or just “Pott”.
“Ruhr” is the river that flows through this area, “Pott” is pot, like for cooking.
The area is know for its industry, for all the Coal mines and its really, really dense population. (More than 5 million people live there but when you add the other cities that are very close, like Düsseldorf and Köln, the population is way over 10 million in a very small area.

The are has a reputation of being very polluted but this is actually far from the truth. It was cleaned up decades ago and the green area’s that they had were nurtured and cultivated. The hotel is in the middle of a green area and nice and for all, quiet!
See the pictures and you’ll understand.

Tasks

This week a question came in how to setup tasks in Rhapsody. As usual the answer is: “it depends”…
First you have to consider your Framework. I cannot speak for all but when you use OO-RTX (A single thread RXF) you have no choice: everything runs in the main task. Scheduling between your objects is done based on “Cooperation”. When you have completed your State-machine actions you basically give back control.
Using a “while(1)” in a state-machine is the same as blocking all other objects.
So you need a full-fledged Framework using an RTOS underneath.
Then you can set a Class to “active” in the features of that Class (“General” Tab) This means that ALL Objects of this class will run in their own task (Thread would be a better expression see: Threads )
So if you instantiate that Class 10 times, you end up with 10 tasks. That might not be what you want.

Structured Class

If you make a Clas active and then give this class a structure diagram you can guide the way they are assigned to a task. All classes instantiated inside an active structured class run in the same task.

That is nice but if you want to control where all statecharts run (and even change it on the fly) you just have to create your Objects “by Hand”. You just call the Class_Create function from the Object in which task you want it to run, the Create function has a Task parameter, call that with class->ric_reactive->myTask. 
Your Statemachine then runs in the correct task. Don’t forget the Class_startBehavior() function….

Here is a small Rhapsody Model with the different methods in it.

That’s it, happy modeling with Rhapsody

Walter van der Heiden ( wvdheiden@willert.de )

2019 is half over already….

Introduction

Or as we say in the Netherlands: the year is cut in two. Time flies when you’re having fun!
What have we seen? A new Rhapsody (8.4)! Lots and lots of new customers, a merger with Sodius… learning French…

What are we going to see in the next half year?
A new Rhapsody! (8.4.1?, 8.5?… 9.0??? who knows!) RXF ‘C’ 7.0, AUTOSAR Adaptive support, C++14 support (Will take a while… sorry….)

MESCONF 2019

Something to really look forward to is the Mesconf, the Modeling for embedded systems conference that we organize every year in Munich. (Oh and last year in Shanghai!)
Since this is a German Congress, the flyer and other information is in German. So sorry for “english-only” readers….

Die deutsche Konferenz über modellbasiertes Engineering für Embedded Systeme gewinnt immer mehr an Bedeutung 

Im 5. Jahr seit der initialen Veranstaltung in 2015 ist die Verwendung von verifizierbaren Modellen als System Spezifikation eines der Schlüsselthemen

Jochen Epple von Daimler berichtet in seiner spannenden Keynote über die Motivation für modellgetriebenes Systems Engineering in seinem Unternehmen, wie es die klassische textuelle Anforderungsanalyse ablösen wird und wie weit man inzwischen gekommen ist.

In diesem Kontext wird es auch eine Arbeitsgruppe geben, die sich mit Konzepten beschäftigt, wie zukünftig bei Auftragsvergaben modellbasierte Spezifikationen im Kontext von Lasten- und Pflichtenheften genutzt werden können, welche Vorteile und Herausforderungen sich daraus ergeben werden.

In bewährter Manier werden Erfahrungen zu vielen anderen spannende Themen in Arbeitsgruppen ausgetauscht und Lösungskonzepte erarbeitet: Modellierung von Varianten und/oder Plattformen, Test Driven MDSE und die Simulation von Modellverhalten, um nur einige Beispiele zu nennen.

Raum für Experten und Toolhersteller, die Ihre Konzepte und Lösungen vorstellen ist inzwischen fester Bestandteil der Veranstaltung geworden.

Und wie immer erwartet die Besucher auch dieses mal ein innovatives aber bereits sehr bewährtes alternatives Format, was die Konferenz zu einem echten Anwendertreffen macht, die deren Fragen und Belange in den Vordergrund stellt. Dazu hier exemplarisch zwei Kommentare aus den letzten Jahren:

‘Ich war positiv überrascht von dem Open Space Ansatz. Zu allen Themen, die mich interessierten, habe ich wertvolle Anregungen oder Bestätigungen bekommen. Ich bin beim nächsten Mal wieder dabei.’ (Michael Sommer)

‘Es hat sich einmal mehr gezeigt, der direkte Austausch zwischen Anwendern lässt sich durch nichts ersetzen‘ (Martin Reiß)

Weitere Informationen: WWW.MESCONF.DE 

Treffen Sie Top-Experten,  Anwender und Toolhersteller. Lassen Sie sich inspirieren, bringen sie Ihre ganz konkreten Fragestellungen ein und diskutieren Sie Lösungen mit gleichgesinnten Praktikern und Experten. Machen Sie sich schlau über aktuelle Trends, Methoden, Tools und Lösungen. Zwei Tage rund um das Thema Modellierung von Embedded Systemen im Systems und Software Engineering sind ein gut angelegtes Investment in Zeiten des rapiden Wandels und der Komplexitätsfalle.

Zum 5. Jubiläum der MESCONF vergeben wir 10 Freikarten. Sie haben Interesse? Dann senden sie sofort eine Mail an uns, weil die schnellsten und am besten informierten, wie so oft, gewinnen!

OK that’s it. Have fun modeling (With any tool!)

Walter van der Heiden ( wvdheiden@willert.de )

© 2025 Rhapsody Tech Blog

Theme by Anders NorenUp ↑