|Usage of timing port in multiple instances of a capsule [message #1815953]
||Tue, 15 October 2019 20:10
| Selvaganesh Murugan
Registered: December 2018
I added a timing port to a capsule (named as channel). I made the "channel" part with replication as 2. In order to take an action based on a timer (say 1 second), is it required to change the replication of timing port as well?
I added an attribute "timerId" of type "UMLRTTimerId" in capsule "channel". I am trying to have unique timers for these 2 instances of channel. When I cancel the timer of one instance of channel, timer of other instance of channel also seems to be getting cancelled.
Could someone please explain the usage of timing port in a capsule that has replication > 1 with an example?
Attached model for reference
[Updated on: Wed, 16 October 2019 00:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04257 seconds