file Associating Events/Signals with a Port in Activity Diagram

10 months 4 weeks ago #5978 by sdiemert
Hello,

In a SysML model, if I have a port defined on a Block and I would like to send a Signal out over that port. I believe the correct way to do this is via an Activity diagram containing a Send Signal node.

However, I am unable to associate the Signal directly to the Port.

Any help appreciated, thanks,

Simon

Please Log in or Create an account to join the conversation.

10 months 4 weeks ago #5979 by ebr
Hi Simon,

If I well understood your need, you "just" have to set your Signal as "Base" type of your port in the Element view.



Hoping it helps,
EBR
Attachments:

Please Log in or Create an account to join the conversation.

10 months 2 weeks ago #5993 by sdiemert
Thanks for the quick reply. It has taken me a while to get back to this... I tried associating the signal with the port as you suggested. This works.

I still see one problem with this approach. It is not necessarily clear what port (from the Activity Diagram) the port is being sent over. You can infer that since you are sending a Signal, then it must be over that particular port, but it isn't obvious to me, especially if you just printed out a subset of the diagrams. Maybe this is a limitation of the SysML syntax more than Modelio itself?

Please Log in or Create an account to join the conversation.

10 months 2 days ago #5999 by ebr
As far as I know in an Activity diagram (SysML or UML), you can specify that you receive a "Signal" but you can not epress the fact that it comes from port A or B.

A workaround would be to create two signals one "Signal from port A" and another "Signal from port B".

EBR
The following user(s) said Thank You: sdiemert

Please Log in or Create an account to join the conversation.

Moderators: tma
Time to create page: 0.158 seconds
^ Back to Top