Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:10
Selvaganesh Murugan is currently offline Selvaganesh MuruganFriend
Messages: 14
Registered: December 2018
Junior Member
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: Wed, 16 October 2019 00:44]

Report message to a moderator

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


Current Time: Mon Dec 02 20:22:13 GMT 2024

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

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

Back to the top