Book a Demo

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 - DavidL

Pages: 1 [2]
16
General Board / RTF Report Generation Diagram Size
« on: October 07, 2009, 06:46:36 am »
Some of the sequence diagrams in my RTF report are very small and have a lot of white space to the right of the last block in my sequence diagram.  How do I fix this.  I have noticed something interesting about the diagrams that end up with a lot of white space.  If I click on the "Fit to view" button when the diagram is open, the diagram zooms way out.  The size of this diagram is what I see in my RTF report.  On diagrams that are the right size in my RTF report, clicking on the "Fit to View" button does not zoom way out.

I could not find any options to re-size the diagram such that "Fit to View" and the RTF report generator do not zoom way out when they render pictures of my sequence diagrams.  Does anybody know how to do this?

Thanks in advance.

17
General Board / Parametric Model Simulation
« on: April 22, 2009, 04:19:58 am »
I have created a very simple parametric model and would like to simulate it.  I have been looking at the following pages:

http://www.sparxsystems.com/uml_tool_guide/extending_uml/simulating_a_sysml_model.html
http://www.sparxsystems.com/uml_tool_guide/extending_uml/sysml_parametric_models.html

I created the following model:



I tried to run the sim and I do not get any input parameters listed.



I have the following code setup for my Adder block:
out = a * b.

What am I missing?

18
General Board / Simulate Parametric Diagram 2
« on: April 25, 2009, 06:40:52 am »
I am trying to simulate a parametric model.  When I try to run the model I get the following error on the output screen:

out
illegal character, line:35

I have the following questions:
1) How can I look at line 35 so I can fix my model?
2) Is there a way to run the simulation from a script instead of from the simulation configuration menu?

FYI I am simulating the model by right clicking on the parametric diagram background and selecting SysML | Simulate Diagram ...

19
General Board / Re: Simulate a state chart
« on: April 14, 2009, 11:37:47 pm »
This article on simulating parametric diagrams helps.  Thanks for the link.  I will try this out.

I also would like to simulate state machines/charts.

The release notes for 7.5 say that there is the ability to generate source code from behavioral models such as state machines, activity graphs, and sequence diagrams.  If I generate code for my state machine, can I put it in a parametric diagram to simulate?  Is there any other way to animate the state chart to watch it execute?

20
General Board / Simulate a state chart
« on: April 14, 2009, 05:10:48 am »
I am using EA 7.5 beta with SysML and am looking for directions on how to simulate or execute a state machine.

Is there a white paper or a computer based training module that shows how to do this?

I want to understand how to trigger events (from a user interface ?), watch the states change, view the value of data/events, and see the resulting outputs (in a user interface ?).

21
General Board / Version 7.5 Compatibility
« on: April 08, 2009, 06:00:57 am »
If I save a model in EA 7.5 (beta) can someone else edit the file in EA 7.1 or 7.3?

22
Bugs and Issues / Re: Recursive Use Cases do not work with RTF Repor
« on: April 07, 2010, 05:01:49 am »
That solved the problem. Thanks for the help.

23
Bugs and Issues / Re: Recursive Use Cases do not work with RTF Repor
« on: April 06, 2010, 01:08:34 am »
Selecting "Child Elements" gets me one level down. It does not seem to recurse many levels down.  Here is what I have selected:



Here is a picture of my project browser and of the complete document that gets generated with I select the Use Case 1 and use the template shown above:


24
Bugs and Issues / Recursive Use Cases do not work with RTF Report Ge
« on: April 02, 2010, 05:33:40 am »
I have the following project browser hierarchy in my use cases:

My Package
  My Use Case 1
    My UC Diagram a
    My Use Case 2
      My UC Diagram b
      My Use Case 3
        My Activity Diagram I
      My Use Case 4

And so on.

I want to create an RTF document output that looks like the following:

1. My Use Case 1
Notes for My Use Case 1

My UC Diagram a

1.1 My Use Case 2
Notes for My Use Case 2

My UC Diagram b

1.1.1  My Use Case 3
Notes for My Use Case 3

My Activity Diagram I

1.1.1.1 My Use Case 4
Notes for My Use Case 4

And so on.....

The trouble is the RTF report generator will create information on:
1. My Use Case 1
Notes for My Use Case 1

My UC Diagram a

Without any problem. I can not get the report generator to recurse down the use case hierarchy.

Any ideas?


25
Bugs and Issues / Re: SysML - how to get dashed controlFlow links
« on: April 06, 2010, 05:07:55 am »
Here is the shape script that combines the two items together.  This worked on my EA 8.0 Beta 3 SW

shape main
{
      noShadow=true;
      setlinestyle("DASH");
      moveto(0,0);
      lineto(100,0);
      hidelabel("MiddleBottomLabel");
}

26
Bugs and Issues / Re: Version Control check-out problem
« on: November 01, 2008, 07:43:07 am »
I have a very similar problem.  My team is using subversion.  We want to put packages that are under CM inside of a top-level package that is also inside of CM.  If I create the model, I can checkout and checkin anything I want.  The system seems to work as expected.  When a new team member checks out the top level package they can see all of the CM controlled packages inside of the top package.  The can never get these packages attached to the CM system.  The only work around we have found is to check out all lower level packages using Right Click -> Package Control -> Get package before checking out the higher level package.  Is there a better way to do this?

27
Uml Process / Code Generation for Activity Diagram Object Flows
« on: May 30, 2011, 12:55:32 pm »
I would like to generate java code for object flows in an activity diagram. Software for control flows works as expected. I can not figure out how to get software for the object flows.

For example, I would like to solve the following equation:

A=5
B=6
Out=i1+i2

I would like the sum to be reusable. I connect the object node for A to the pin with the name i1 and the object node B to the pin with the name i2.

In an ideal world, I would like to create data flows of control laws using a set of activities/actions for filters (lopass, hipass), math (sum, multiply) and so on. I would like to quickly connect the activities/actions together with object flows. I would then like to generate a complete software algorithm.

Is this possible? Does anyone have an example?

Pages: 1 [2]