Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » Usage of timing port in multiple instances of a capsule(Usage of timing port in multiple instances of a capsule)
Usage of timing port in multiple instances of a capsule [message #1815953] Tue, 15 October 2019 16:10
Eclipse UserFriend
Hi,

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: Tue, 15 October 2019 20:44] by Moderator

Previous Topic:Project status
Next Topic:Installed Eclipse and added Papyrus plugin.
Goto Forum:
  


Current Time: Sat Jul 12 18:54:43 EDT 2025

Powered by FUDForum. Page generated in 0.03500 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top