Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - revdev

Pages: [1] 2
1
Hi Simon.  How do you create an event with data?  I have seen in the generated code that "signal" is used, but I don't see the signal passed on to the "behavior" part of the state action.  Thanks in advance.

2
We used C++.  This was a medical imager.  The application drove a variety of stepper and servo motors, performed a variety of sequential tasks, and relied on a number of sensors.  It was easily described in multiple cooperating state machines.  Rhapsody provided that class definition and state machine engine.  Each state action was written by hand in C++.  Their architecture supported events, timers, and state transitions within their threading model.

We wrote all algorithms in C++.

3
Yes, using Rhapsody, and on another application, using System Architect and a custom code generator from Pathfinder Solutions, Inc.

4
I have used code generation from UML successfully on a couple of projects.  One popular tool we used was Rhapsody which is now "supported" by IBM.  I am totally on board with the concept.  I just want to know if anyone here is using EA for this purpose. 

5
I would like to hear about experiences from engineers who have developed applications using EA's executable state machines and code generation from UML diagrams.  I am looking into it for developing a non-regulated laboratory device that performs real-time process control.

6
General Board / Re: change diagram properties in a whole project
« on: February 07, 2008, 11:15:10 am »
The XML export and import feature works well.  You could export the package(s) to XML, change the spelling with a text editor, then import the updated XML.

7
General Board / Re: embedded systems workflow after EA
« on: January 15, 2008, 08:49:19 am »
I am using EA on an embedded C project.  We do not generate code, but have modeled the whole system, including multiple cooperating state machines.

According to the Executable UML book and MDA, etc., I have developed a software architecture to support the models.  The architecture runs on 8-bit and 16-bit processors and there is no inherent reason why it shouldn't run on an MSP430.

What is your toolchain?  Rowley supports C++ on the MSP430.

I would be happy to discuss it.  If you're interested, email me at bruce@thenextrev.com.


8
General Board / Re: Entering transitions in statecharts
« on: December 05, 2007, 11:10:43 am »
Just saw your question.  Since events can carry data and a state shouldn't have to know which event caused the transition, it is proper for the entry method to have just one event type to extract data from.  If there are different events with different data, then the target should (or at least could) be different states.  I would model your example with the GettingHappy event which causes transitions out of many states to the Happy state.

Regards

9
General Board / Entering transitions in statecharts
« on: October 22, 2007, 05:40:23 am »
A standard practice in MDA is to ensure that all events leading to a given state are the same.  It would be nice if, after creating a transition between 2 states, I could select a  trigger from a list and not create a new trigger (that shows up in the Project Browser) each subsequent time I use the trigger name.  The current way, I have to recreate the trigger each time I use it.

Any thoughts on how valid this request is?

10
General Board / Re: Signals in sequence diagrams
« on: December 04, 2007, 04:37:15 am »
I do have my collection of messages, but I really want to apply a name to the message from the toolbar in the interaction diagram.  The only way I see to do this is if the name is an operation belonging to the target class.

11
General Board / Signals in sequence diagrams
« on: December 03, 2007, 02:09:17 pm »
It appears that, in order to reuse a signal name in a sequence diagram, it must be an operation associated with the receiving object.  The UML Superstructure Spec says "A signal is defined
independently of the classifiers handling the signal occurrence".  

My implementation of signals uses a message class.  All messages are received by the target object with the same operation (DoEvent).  It would be nice to have a list of reusable signals to choose from as well as a list of operations.

Make sense?

revdev

12
General Board / Re: Difference between Feature and Class stereotyp
« on: December 04, 2007, 06:34:08 am »
I think you have to ask your question in a different way.  A stereotype extends an UML element.  What do you mean by "feature"?

13
General Board / Graduating from newbie
« on: October 22, 2007, 05:44:47 am »
How does one graduate from being a newbie?  I've been using EA for over 2 years on multiple client projects.

Thanks.

14
General Board / Re: Duplicate code generated
« on: September 01, 2006, 02:01:28 pm »
If I use "overwrite" then I lose any code I may have typed in after the previous generate.  I would like to do some round-tripping here.

15
General Board / Duplicate code generated
« on: September 01, 2006, 06:21:22 am »
Hi.  I am generating code in C++ at the class and package levels.  Each time I generate, the code is appended to the .cpp and .h files, leaving me the same number of copies of the class (in the code) as the number of times I have generated code.

Any ideas?

Pages: [1] 2