![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Animation snooping through COM Topic Summary: Created On: 31-May-2006 19:18 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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?
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Animation snooping through COM
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.