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 / Call Trigger State Machine Diagram
« on: November 25, 2014, 03:47:54 am »
Hi All

I have noticed the following in SysML 1.3 EA version 11.1, but I am assume the same "behaviour" is also true for UML

In a State Machine diagram that is a child of a Block (or Class), and that Block has operations defined in it, a Call Trigger can be set in EA and quite correctly you can pick the operation pertaining to the trigger.

BUT, nothing shows on the diagram!!

You are forced to name the Trigger, (space will do), but rather than displaying the Operation name that is being called by the trigger, EA displays the trigger name.

Is this a bug?

If not it rather defeats the object of linking a Call trigger to an operation

Yes I can name the Trigger to be that of the operation, but that's not ideal

Am I missing something?


32
General Board / Hide Stereotype for SysML 1.3 Ports
« on: September 18, 2014, 12:59:38 am »
Hi All

SysML 1.3 introduced the concept of <<full>> and <<proxy>> ports

Naturally, these stereotypes appear on Block Definition Diagrams along with other stereotypes like <<block>> and <<interfaceBlock>>

This is fine, but with a large number of ports, particularly if ports are nested, the presence of stereotypes on Ports clutters  the diagram very quickly

Using Diagram Properties it is possible to turn off Element stereotypes, which works for <<blocks>> and <<interfaceBlock>> but NOT for Ports  >:(

These stereotypes are still present

Is this a bug that needs reporting, a feature, or is there a way to hide the stereotype on a Port?

My work around (at the moment and SysML purists stop reading now) which is not really valid SysML but works in EA, is to use a non stereotyped Port regardless of whether it is a <<full>> or a <<proxy>>

Another gripe, element alignment DOES NOT WORK ON PORTS   >:( really annoying when trying to align Ports

Cheers
Phil

33
General Board / OSLC Creation Factory Example
« on: May 23, 2014, 11:53:41 pm »
I know this is a long shot since it seems few EA users are trying the new OSCL feature in version 11

I am trying to write a simple OSLC .Net client and have successfully got the OSLC Requirement query (HTTP GET) working perfectly

BUT I just cannot get the Create Requirement (HTTP POST) to work

I have used the example in the on-line help, but, I just get an exception

[highlight]WebException The underlying connection was closed An unexpected error occurred on a receive ...[/highlight]

I have turned on server logs using the Cloud Services admin, but no logs are created  >:(

This is a vain plea (mostly aimed at Sparxians), does anyone have a working example of .net code that uses OSLC POST?

I have trawled the .net C# forums and have tried the HTTP POST examples, but all cause the same failure


The on-line help just states To create a new Requirement, the client POSTs a representation of the Requirement in RDF format to the Creation Factory URL
which is exactly what I am trying to do!

Cheers

34
General Board / OSLC where and wildcard
« on: May 22, 2014, 11:36:24 pm »
Hi All

I have been playing around with Version 11 and OSLC

It appears that wildcard query is not supported, for example the following works just fine

http://localhost:804/ea_demo/oslc/qc/?oslc.where=ss:type="Functional"

but the following returns an HTTP 400 Bad Request error

http://localhost:804/ea_demo/oslc/qc/?oslc.where=ss:type="%Funct%"

Does Version 11 support OSCL wildcard queries?  If not is support for wildcards planned?

Cheers

35
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

36
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

37
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

38
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

39
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

40
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

41
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

42
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

43
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

44
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

45
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

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