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: Animation snooping through COM
Topic Summary:
Created On: 31-May-2006 19:18
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.
 31-May-2006 19:18
User is offline View Users Profile Print this message


Peter Leveille

Posts: 2
Joined: 31-May-2006

I have a simple .NET gui that I've connected to rhapsody through the rhapsody COM API. I want to be able to change visual icons in my .NET gui based off what's happening durreing rhapsody animation of a state diagram. Poking through the Rhapsody COM API, I can see lots of interfaces that look promising, but its hard to tell whats intended for static info, and whats intended for dynamic info. For instance, looking at the IRPTrigger it seem like its really only giving me static information about the triggers that exist in the system, no real way to listen to what triggers are occuring. Even with the IRPEventReception interface, I can't figure out exactly what its supposed to be giving me... What are the proper interfaces for listening to and dynamically generating events during execution?
Report this to a Moderator Report this to a Moderator
 1-Jun-2006 11:23
User is offline View Users Profile Print this message


Simon Morrish

Posts: 127
Joined: 17-May-2005

Hi

I've looked at this before, and concluded that the only impact of instrumentation upon the COM API is the IRPApplication::enterAnimationCommand method. Presumably you pass it a string such as "GO IDLE"; I haven't tried.

There doesn't seem to be any way to deduce the dynamic state of an executing model via the API.

Perhaps you could communicate directly with the instrumented application (via tcp/ip)? However, I'm not sure whether the instrumentation protocol is published by I-Logix... I haven't seen any documentation for it.

I'd be interested and grateful if you could post any findings or progress you make back to this thread.

regards,
Simon

-------------------------
Simon Morrish
simon.morrish@eu.panasonic.com
http://panasonic.co.uk
Panasonic ideas for life
Report this to a Moderator Report this to a Moderator
 11-May-2007 08:45
User is offline View Users Profile Print this message


Oskar Berreteaga

Posts: 1
Joined: 22-May-2007

Hi, all,

Has there been any update on this issue? We've also seen (and used) the enterAnimationCommand call to inject events to the model but we'd also like to enquire the model about the statechart's actual state(s) it's in after the event injection.

Is there any API call that we're missing? Or is there some other way to discover the active states traversing the model?

Any help appreciated.

Thanks in advance and kind regards
Oskar Berreteaga
Ikerlan, Koop. E.
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.