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.

Topics - mvinca

Pages: [1] 2
General Board / Integrator in Parametric Diagram
« on: July 30, 2011, 03:56:31 am »
Is it possible to create a feedback loop in a parametric diagram.

For example, we have a block called "adder". It has two inputs: A & B with the output of C.

The code would simply be C= A+B

But I want to connect the output C to the input B to essentially remember the last result.

I'm not even sure if EA would support such an operation. But if it did, how would I go about initializing B for the first step through?

General Board / CallOperation Actions
« on: February 26, 2011, 03:07:11 am »
I drag an operation onto an Activity diagram and an CallOperation action is automatically created. But how do I create or link action pins to the variables define in the operation?

General Board / SysML Internal - Part
« on: December 11, 2010, 02:27:01 am »
When I tell a "part" on an Internal Block Diagram to turn on the visibility of "Notes", nothing happens. Is this expected behavior? Is it understood that display "notes" on a "part" is not expected of a "part."

General Board / Default for new diagram
« on: November 10, 2010, 05:51:18 am »
Every diagram I create, I go to Page Setup and change to Landscape. Then I go to Diagram Properties and turn off namespaces and turn on Element Notes (cause I'm doing requirements). It is getting quite repetitious. I want to be able to set this as the default for all new diagrams.

I figured I could do this in the Toolbars->Format Tool, but that doesn't seem to apply to diagrams when I save the "Default Style" after changing these properties.

Where can I do this? I assume I'm just missing it somewhere.

General Board / Traverse from Operation to Activity/Action
« on: September 30, 2010, 05:11:19 am »
Activities and Actions can list an operation in their "behavior" field. Does anyone know how to traverse from the operation to the Activities/Actions that refer to that operation?

General Board / UML Profile - Enumeration - Allow Multiple
« on: September 14, 2010, 10:45:01 pm »
Using as a reference, it is possible to define a tagged value that is limited to an enumeration, but can select multiple values from the enumeration?

ie. color = Yellow, Red

General Board / Copy Ports and Flow Ports
« on: June 17, 2010, 05:39:24 am »
I have two blocks and I have defined a flow port in one of them. I want another port with the exact same definition in the other block, but it seems I'm not allowed to copy "non-elements". Is there any way to copy ports from one block to the next?

General Board / Flow Specification Attribute Direction
« on: June 12, 2010, 01:39:00 am »
How do you set the direction (in/out) of an attribute in a flow specification? I can't seem to figure it out.

General Board / Changing Diagram Type
« on: June 10, 2010, 10:14:38 pm »
I have a SysML Use Case diagram with some Use Cases on it. The only real difference form an UML Use Case diagram is that the SysML diagram has a different title format. When I make one of my Use Cases into a Composite Use Case, an UML Use Case diagram is generated, not a SysML Use Case diagram.

I'm looking for a way to take these UML Use Case diagrams and "transform" them into SysML Use Case diagrams so my diagram titles are consistent. Anyone know how to do this?

General Board / What MetaClass for diagram stereotypes?
« on: May 05, 2010, 09:18:49 pm »
I want to create a stereotype that I can attach to any diagram. (Right now the pull down says "allocated" and "RequirementRelated".) However, I'm unable to figure out what MetaClass I extend in my UML Profile to do this. Can anyone help me out?

General Board / Scenario XMI Export
« on: May 07, 2010, 12:50:07 am »
I'm looking at the XMI export for scenarios and it here is an example?

Code: [Select]
                              <EAScenario name="Acknowledge Check" type="Alternate" weight="0.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_8B50A1F3_3C06_4fed_9CD2_875EB0A2FC05">
                                                <step name="Check if operator has acknowledge pending erros" guid="{D3C8ABFE-F639-41ff-B2E8-92E5B4A82F27}" level="1" uses="Train Operator" result="" state="" trigger="1" link=""/>
                                                <step name="Request brakes on failure to acknowledge" guid="{6E3E2D39-E57F-47a3-9C4F-B6EE6325AABB}" level="2" uses="Brake System" result="" state="" trigger="1" link=""/>
                              <EAScenario name="Another Path" type="Exception" weight="0.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_55632629_20A1_4b62_9EE8_DA55A0BD9BBC">
                                                <step name="Step 1" guid="{EDEA9529-9493-4d8f-9605-384ECF734DA3}" level="1" uses="" result="" state="" trigger="0" link=""/>
                                                <step name="Step 2" guid="{7A59C0D5-5FE4-4ab0-B9AC-19D63D306B93}" level="2" uses="" result="" state="" trigger="1" link=""/>
                              <EAScenario name="Basic Path" type="Basic Path" weight="2.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_DF926DCC_D7BE_4087_B328_AB9F2F55B1C6">
                                                <step name="Compare Speed Limit with Train Speed" guid="{8C915C5A-9B2D-4f32-8F08-6DF462BC3AC2}" level="1" uses="" result="" state="" trigger="0" link="">
                                                      <extension level="1a" guid="{8B50A1F3-3C06-4fed-9CD2-875EB0A2FC05}" join="End"/>
                                                <step name="Withhold brakes if under speed limit" guid="{A2B3BE7B-BE49-481d-AE80-9D85AAAA9466}" level="2" uses="Brake System" result="" state="" trigger="1" link="">
                                                      <extension level="2a" guid="{55632629-20A1-4b62-9EE8-DA55A0BD9BBC}" join="End"/>

My question is, how do you link the alternate scenarios to the step they come from in the basic path? The extension level doesn't seem to be referenced, nor the guid...

General Board / Constant Source Control Hit
« on: April 28, 2010, 02:05:06 am »
I have a model that I have under SVN source control. All I'm doing is moving model elements into packages underneath this model. Everything I do that, SVN is being called. Can anybody tell me why? What is it doing? I know SVN is being called because if I drop the network connection, I get the SVN errors associated with not being able to find the repo.

Uml Process / Activity Diagram and Parameters
« on: May 24, 2010, 10:34:44 pm »
I have an activity with some parameters that is included in a higher level activity. When I describe the lower level activity in its own diagram, I need to link those parameters to action pins on actions within the activity. But I can't figure out how to show the parameters on the diagram frame. How do I do this? If I drag the parameters to the diagram, I get a complaint about needing the parent element. But the diagram is the parent element!

If I am creating an UML Profile using a diagram and "Save Package as UML Profile", how do I populate the "unit" and "values" attributes of the resultant XML?

<Tag name="TopLevelPbsElement" type="RefGUID" description="" unit="" values="" default=""/>

I can hand code it, but I'm not sure what to do in the GUI to fill this in.

I'm trying to traverse a document class from the API. The packages that you put into a documentation class show up as attributes, so I'm trying to follow the attribute. I thought I could use the ClassiferID of the attribute to find the package being referenced, but I am getting stuck...

            foreach( EA.Attribute a in source.Attributes )
                EA.Package p = repo.GetPackageByID( a.ClassifierID );

but the GetPackage... causes a error dialog (ID not found).

Anyone know how to find the package object given the document object?

Pages: [1] 2