Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Detect Rhapsody Framework Idle
Topic Summary:
Created On: 18-Sep-2006 08:58
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Sep-2006 08:58
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

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
Report this to a Moderator Report this to a Moderator
 18-Sep-2006 11:57
User is offline View Users Profile Print this message


Ian Turner

Posts: 25
Joined: 3-Feb-2006

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
Report this to a Moderator Report this to a Moderator
 18-Sep-2006 12:23
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.