I am stuggling with how best to simulate an activity diagram with SendSignals and Accept Events and have the SendSignal trigger an asynchronous message that is received by the Accept Event. I am using sysML for this example though I expect it will have identical behaviour to UML for EAs implementation of activity diagrams and simulation.
So far, following the EA user guide as an example, I have created a signal called Signal_Pushdown and assigned an attribute, Name (buttonState) Type (boolean) Initial Value (true)
I created an Accept Event called PushButtonPressed and assigned a Trigger Name (PushDown), Type (Signal) Specification (Signal_PushDown) selecting the signal previously created. This created a Trigger in the Project browser called PushDown.
I then created a SendSignal called PushButtonPressed and assigned a Signal, Signal (Signal_Pushdown), Argument-Attribute buttonState and Argument-Value (true) and added this to a Pin of the SendSignalEvent.
Next I created a simple activity diagram to simulate an activity (Activity6) which splits behavoural flow between two parallel acitivities, one with the the SendSignal (Activity1) and one with the Accept Event (Activity2). The simulation runs and performs both the SendSignal and the AcceptEvent (as seen below) however there are no events visible in the Simulation Event window, I can't see any triggers created and the simulation stalls on the Accept Event, I suspect the reason being that there are no triggers present for it to use. The simulation provides evidence in both the simulation window and the call stack that shows that the SendSignal is evaluated, e.g.,
[27497928] Activity6.Activity1.PushButtonPressed (this is the SendSignal)
[27498136] Activity6.Activity2.PushButtonPressed (this is the AcceptEvent)
Can someone please provide some information as to what I may be doing incorrectly or direct me towards an example of how to correctly set up simulations in EA using SendSignal and Accept Events?
Regards,
joeT