![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Detect Rhapsody Framework Idle Topic Summary: Created On: 18-Sep-2006 08:58 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is it possible to detect when the Rhapsody framework becomes idle? I am looking to use this (with some chek that it is idle for a period of time, say 10 seconds) to determine completion of the model behaviour that I stimulated. After the Framework has been idle for set period, I could then make a call to some of my cleanup code.
Thanks in advance, Paul |
|
![]() |
|
![]() |
|
Hi Paul,
rather than monitor the framework, what about another class that has a statechart with two states separated by a 10 second timeout. A reset event on the first state keeps resetting the timeout (within your model). When your model completes, it stops resetting the timeout allowing the second state to call your cleanup code? If anyone else has a better idea I'd be pleased to see it. See attached bitmap ![]() Regards, Ian |
|
![]() |
|
![]() |
|
Hi Ian,
My model doesn't know when it has completed. It will keep processing events if they come in. I am going to use Test Conductor to drive in the stimulus. This is why I was looking for a way to query the framework being idle, as, if it becomes idle, for say 10 seconds, I could assume that all stimulus had been driven in by Test Conductor, and dealt with by the model. It would then be safe to run the cleanup |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Detect Rhapsody Framework Idle
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.