![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Using PORTS in Rhapsody C++ Topic Summary: Created On: 30-Mar-2005 07:57 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does somebody has an easy example using PORTS in Rhapsody.
I tried to understand the example in the documentation (Rhapsody6.0 C++) but I can't get it work. -Every time I generate an event with OUT_PORT(myPort)->GEN(myEvent) I get an errormessage like "Event ignored Instance has no root state". -Using triggert Operations does work but listening for an event on the port doesn't work. The guard myEvent[IS_PORT(myPort)] never became true. Any help welcome Gerstner Roy |
|
![]() |
|
![]() |
|
Hi Gerstner,
In order to use a triggered operation with ports, you need to specify your Triggered operation as a primitive operation in your interface class, despite the fact it is implemented as a triggered operation. Does this fix your error? |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Using PORTS in Rhapsody C++
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.