Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » Is there any way to get the status of a timer?(Is there any way to get the status of a timer?)
Is there any way to get the status of a timer? [message #1765032] Mon, 05 June 2017 17:07 Go to next message
Eclipse UserFriend
Hi,

Is there any solution to see if the timer is activated or no?
I know getting timer id during activation of the timer should provide a solution, but what about if we do not save the timer id during the activation? Is there any way to get the timer id after activation of the timer?

Thanks
Mojtaba


Re: Is there any way to get the status of a timer? [message #1765080 is a reply to message #1765032] Tue, 06 June 2017 08:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mojtaba,

The only solution to use the timer ID that is returned when creating a timer. One you have that timer ID, you can query its status or cancel the timer.

Note that you are also responsible to make this ID available to all namespaces where it is to be used.

There is no published user API defined to query for the list of timers or to retrieve a particular timer ID (or set thereof) for a particular timing port.

If you feel this is important functionality, could you please create a Papyrus-RT bug providing a user story/use case that would describe ow you intend to use this functionality?

Thank you!
Re: Is there any way to get the status of a timer? [message #1765081 is a reply to message #1765032] Tue, 06 June 2017 08:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mojtaba,

The only solution to use the timer ID that is returned when creating a timer. One you have that timer ID, you can query its status or cancel the timer.

Note that you are also responsible to make this ID available to all namespaces where it is to be used.

There is no published user API defined to query for the list of timers or to retrieve a particular timer ID (or set thereof) for a particular timing port.

If you feel this is important functionality, could you please create a Papyrus-RT bug providing a user story/use case that would describe ow you intend to use this functionality?

Thank you!
Re: Is there any way to get the status of a timer? [message #1765094 is a reply to message #1765081] Tue, 06 June 2017 10:22 Go to previous message
Eclipse UserFriend
Thanks a lot, Charles.
I will open a bug and provide the details as you requested.
Previous Topic:Removing gradient style in the diagrams (no background shading)
Next Topic:Deep copy of the passed message to the action code
Goto Forum:
  


Current Time: Thu May 15 19:43:05 EDT 2025

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

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

Back to the top