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

Pages: 1 2 [3] 4 5 ... 8
31
General Board / Error on Attempting to Generate Sequence Diagram
« on: February 27, 2014, 03:09:24 am »
Hi All

The Analyzer is not a feature I use often in EA, but a need has arisen

I have a .net exe the code for which I have reversed into EA and I am now attempting to create a sequence diagram form the execution of the application.

I have followed the Use Guide and the Tutorial on the Community Site, but as soon as the recording starts I receive the following error

[highlight]Failed to Load Common Language Runtime[/highlight]

It appears EA cannot find something, but what and how do I configure where EA should look for the Common Runtime?

Cheers

32
General Board / OSCL Requirements
« on: February 25, 2014, 09:36:37 pm »
Hi All

Been trying out the Cloud Services and OSLC in EA version 11, and it works just fine

The data transferred for a requirement is defined in XML, is it possible to add tagged values to this structure? If so how?

If not, are tagged values likely to be supported in the future?

Cheers

33
General Board / Cloud Service and IIS
« on: February 19, 2014, 08:47:04 pm »
Hi All

Got the cloud service and OSLC working using the default installation, but only on my own machine. Access from any other machine on the internet fails with an error cannot connect to

I have tried this with my network machine ID and my IP address, with the same result

The notes accompanying the Cloud Services, state that IIS integration is not configured, just the files are copied to the installation folder.

What files are these?

How to set up IIS to work with Cloud Services?

Do Cloud Services work with IIS Express?

If so, how do you configure IIS Express to work with Cloud Services?

All advice most appreciated

Thanks

34
General Board / State Machine Simulation
« on: September 24, 2013, 06:13:49 am »
Hi All

When executing a state machine simulation with behaviour of state operations specified in JavaScript and using Interpreted simulation, is there a maximum number of steps / simulation code instructions that are executed?

If so, can this be configured?

I have a simple state machine, that goes into a "flip flop" between states (i.e. it never ends) this is deliberate, strange though it sounds. When I run the simulation, it ends automatically after seemingly random number of steps.

In order to simulate a delay in a state, I have used the following code

sim.endOfPhase = false;
while (!sim.endOfPhase) {

         sim.endOfPhase = (Math.floor(Math.random()*100+1) == 1);
        Trace("end of night  phase  = " + sim.endOfPhase);
}


This code is in a behaviour of each "flip flop" state, so that the simulation just simply oscillate between states very rapidly.

It appears, that there is some kind a execution limit, but can anyone confirm this?

Cheers

Phil

35
General Board / Activity Diagram Call behaviour Action Error
« on: January 30, 2013, 12:18:15 am »
Hi All

Anyone else notice the following behaviour in EA version 10 build 1005?

1) Create a new UML Activity Diagram
2) Add a Call Behaviour Action onto the diagram
3) Set the behaviour to an Activity
4) Now try to connect this call behaviour action to any other Activity element  - you will get a [highlight]The requested Connection is not UML compliant error[/highlight]!

Happens whether or not the call behaviour action is on the diagram, or inside an activity element, in addition the same error occurs when the diagram is in the package or owned by an activity

Never used to happen

Bug report will be raised

Cheers

Phil

36
General Board / WADL Import
« on: September 27, 2012, 11:17:39 pm »
EA reverse engineers WSDL files for SOAP services, does anyone know of a method of reverse engineering WADL files for REST services?

Cheers

Phil

37
General Board / SysML and EA 9.2
« on: November 18, 2011, 08:04:52 pm »
Hi Guys

The ability to show parts, values, ports, references etc as compartments in blocks is a most welcome functional enhancement.

However two comments:

1) It appears that these compartments always appear (for example when a part is added to a block), is there any way to make them appear as an option.
2) More importantly, I have figured out parts, ports and references ... but for the life of me I just cannot get values to appear. The user guide is of not assistance as no details are given and the example SysML model in EA-Example.eap does not use values  :'( Would most appreciate any help in getting this to work

Cheers

Phil

38
General Board / Messages numbers in sequence diagrams RTF output
« on: July 02, 2012, 05:43:08 pm »
Hi All

Been asked this by a client, and I am pretty sure of the answer, but just in case.

Is it possible to output the message number for sequence diagram messages as a data field in the RTF output?

I cannot find any way, and I also believe that the numbers are not stored in the repository.

Can anyone confirm my beliefs?

Cheers

Phil

39
General Board / Object Run State in SysML 1.2 Parts
« on: January 24, 2012, 03:34:07 am »
Hi all

I am trying to model Trade-offs in SysML 1.2, where a structural model can be instantiated as parts and then the run state can be set for each part and appropriate values entered corresponding to attributes in the block.

This is pretty much equivalent to instantiating Classes as Objects in UML, but that is where the comparison ends!

I am using the latest build of EA version 9.2

First, if valueTypes are used as values of the blocks, then the object state cannot be set, since the variable drop down list is blank. Attributes MUST be used as in UML.

Secondly, when a number of blocks are re-used as properties (equivalent to reusing UML classes as objects), and selecting Copy Connectors ... the connectors DO NOT appear as they do in UML!

Thirdly, although the runstate of a part can be set, the run state is NOT visible on the object diagram, as it does in UML!

Workround ... for the parts, remove each stereotype and the runstate appears.

Workaround ... for the connectors, copy all the Blocks, remove the stereotypes and create the object diagram (also displays the run state)

Both workarounds are clumsy.

Any other SysML modellers out there, found the same, or know of a better workround.

Is the behaviour I have described expected ... a feature ... or a another bug in the SysML implementation?

Cheers

Phil

40
General Board / Further Issues with Parts Compartments SysML 1.2
« on: December 10, 2011, 11:15:17 pm »
Further to the comments regarding the parts compartments for SysML 1.2 blocks being shown optionally rather than always being visible, I have discovered the following issues:

1) When copying the diagram to the clipboard and subsequent pasting (eg into Word or Powerpoint), the parts / ports / values compartments do not show up. Printing the diagram is OK
2) Parts may have multiplicity. EA captures this correctly and shows the multiplicity in the Project Browser, however the multiplicity does not show alongside the part name in the Parts compartment.

Cheers

Phil

41
General Board / Generalization Sets
« on: October 04, 2011, 03:04:30 am »
Although an advanced use of UML Generalization it is possible in EA to create Generalization Sets to constrain inheritances.

For example a base class of Engine could have two sub-classes 4 Cylinder and 6 Cylinder. We can use a Generalization Set to specify that an Engine can only be either 4 Cylinder or 6 Cylinder, but not both {disjoint} and the only engines are 4 Cylinder and 6 Cylinder {complete}

EA allows this information to be caputured on the New Generalization Set dialog - disjoint and complete are check boxes

However only the name of the Generalization Set appears on the diagram.

Does anyone know if (and how) the disjoint and complete qualifiers can be made to appear?

Checked all the usual places, diagram properties, connector properties, tools | options

Cheers

Phil

42
General Board / Custom references on RTF
« on: September 01, 2011, 07:31:54 pm »
Hi All

Is is possible to access the custom references for an element within the RTF template? I cannot seem to find it anywhere

I can access custom references by a SQL query, but it would be convenient to have direct access in the RTF template

Cheers

Phil

43
General Board / SQL Search failing on Model Document
« on: July 28, 2011, 12:46:26 am »
Hi All

Having read the user guide, it is very specific as to what MUST be included in a custom SQL search for use with a Model Document element (search specified by a tagged value)

Here is my search

from  T_Object a, T_Object b, T_ObjectProperties
where b.Name = '<Search Term>'
and a.Object_ID = T_ObjectProperties.Object_ID
and T_ObjectProperties.Property = 'DBApplicationModuleRef'
and b.ea_guid = T_ObjectProperties.Value

When run from the search view, all is well and I can select the items listed in the result, right-click and generate my documentation using a rather simple RTF template

BUT, when set as a tagged value in a model document, a suitable value entered in the search term tagged value, it fails every time with a rather unhelpful message

"Documentation Generation Failed"

I have checked the usual suspects

I have not got any packages in my Model Document element
The search most definately returns a list of elements

Any ideas?

I did also try a very simple sql search (the one in the user guide), that also failed in the same way!

I using the latest build of Version 9.0, but it also fails in Version 8.0

Cheers

Phil

44
General Board / Execution Analyser under Windows 7
« on: May 26, 2011, 10:27:21 pm »
Hi All,

I have a demo example in EA to show the creation of a sequence diagram from executing a C# .net application.

This worked fine until my laptop was upgraded to windows 7

Upon trying the demo for the first time today (I don't use it very often)

The following error message occured

Running build script - Northwind Employees      
C:\Projects\Northwind Application Test>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com /build Debug Northwind Application Test.sln"      
The directory name is invalid.      
C:\Projects\Northwind Application Test Build completed with exit code 1
     

I am guessing EA is complaining about Program Files (x86), which is path to Visual Studio in Windows 7, it worked fine with Program Files

Any suggestions guys?

Cheers

45
General Board / EASL Code Generation
« on: January 08, 2011, 01:49:33 am »
Hi All

I am having a little look at the EASL code generation in EA, specifically C# code from a sequence diagram. The User Guide is a little scant, but implies that a Loop combined fragment will generate an iteration, and indeed it does.

Below is an extract from the code generation script

$guard = %EASL_GET("Property", $guardedAction, "Guard")%
$expression = %EASL_GET("Property", $guard, "Expression")%
$upper = %EASL_GET("Property", $guard, "Upper")%
$lower = %EASL_GET("Property", $guard, "Lower")%


Now, the EASL Property "Expression" can be set by using the Properties of the Combined Fragment, and this setting comes out in the generated code. BUT, if we look a little further into the code generation script ...

%if $expression != ""%
while ($expression)\n
%elseIf $lower != ""%
for ($lower; $upper; ; )\n
%else%
while (true)\n
%endIf%

We find the $expression (if set) will always generate a while loop ... perfectly OK.

However, how do we get a for loop?

The above script implies, that if no expression is set AND EASL property "lower" is set then we get a for loop

Does anyone know how set a value for the EASL property lower ... what does this correspond to on the combined fragment. I can find no property, or tagged value

Cheers

Phil

Pages: 1 2 [3] 4 5 ... 8