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

Pages: [1]
1
Hi Serge,

did you find any solution for your problem?
I want to do the same, as well as simulate activity diagrams with object flows but I don't find any documenation for it...

Best regards,
epi

2
General Board / Re: Send Information from Activity Diagram to State Machine
« on: December 18, 2023, 06:35:17 pm »
So far, my state has and owned behaviour, then it executes the according activity (so in the simulation the activity diagram is opened the simulation runs through it). I know I can easily assign values to a signal attribute in the state (with do/enter/exit). But I do not understand how to model this as a "task" of an activity. So far it only works when I model it as an effect of an action.

3
General Board / Re: Send Information from Activity Diagram to State Machine
« on: December 15, 2023, 05:57:10 pm »
Sorry for the wording. I use a call behaviour and it then opens the activity diagramm. How can I express this correctly?

4
Hi there,

1) I have a statemachine, where one state is calling an Activity Diagram (as child diagram). In this Activity diagram I would like to write a value into a signal which then can be used by statemachine as guard condition. I tried the send signal action, but I think I failed by chosing the right target action pin.

2) I have a statemachine, where one state is calling an Activity Diagram (as child diagram). In this Activity diagram I would like to create a trigger that immediately triggers the state machine to switch state. Is that somehow possible?

Thanks in advance!


5
General Board / Re: Find Triggers that are NOT associated
« on: December 04, 2023, 09:12:44 pm »
Thanks @qwerty


I am very surprised to find out that the asociated trigger of a connector is written into t_connector.PDATA1

So I wrote this SQL query and it returns all triggers that are not associated to any trigger:

Code: [Select]
SELECT * FROM t_object WHERE t_object.Object_Type = 'Trigger'
AND t_object.Name NOT IN
(SELECT *
FROM
(SELECT t_connector.PDATA1 FROM t_connector WHERE t_connector.PDATA1 IS NOT NULL))

I am surprised that it was that easy, possibly I did missunderstand something?  What do you think about this solution?

6
General Board / Re: Find Triggers that are NOT associated
« on: November 29, 2023, 08:08:37 pm »
Thank you all for responses. I will definitely take a look into the recommended book and try your suggestions.

@qwerty that sounds like a way I could try too. Are you writing this in the search query window? Could you give me an example how such a script could look like?

7
General Board / Re: Find Triggers that are NOT associated
« on: November 28, 2023, 06:52:17 pm »
I thought so, I really would like try to do this on my own, are there any resources, how databases, elements etc are named and how I adress them?
But if someone has already sth similar ready I would be more than happy :)

8
General Board / Find Triggers that are NOT associated
« on: November 27, 2023, 08:43:57 pm »
Hi there,

I am very new to EA and currently working on some state machines. Because of co-working with other people on the same model it happened that we  have created triggers that are now ending up not used in the state machines. How can I identify them?
I know I can search if a trigger is used in a diagram, but the ones we use are not actually in the diagram, they are only associated to a transition.
I also know that the other way round it is possible to find triggers associated to a Transition.
But I would love to have a list of all triggers that are not associated to any Transition, so that I can delete them.
The search for Orphans in Diagram Searches doesn't help either (because they are not represented as an element in a diagram)
I am sure it must be possible with an SQL search query, but here I am lacking knowledge, and so far my research led only to simmilar search queries that did not bring me the wished result.

I am thankful for any hint or help.
Best regards,
epizykloid

Pages: [1]