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: Ports in Rhapsody in J (newbie)
Topic Summary:
Created On: 5-May-2006 13: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.
 5-May-2006 13:18
User is offline View Users Profile Print this message


Jukka Peltola

Posts: 5
Joined: 2-May-2006

An easy question for the heavy users: I'm starting a project with R for J and want to use ports. Is this at all possible?

What notation should I use in a statechart to call a method of a port?

In c++ this is done like "OUT_PORT(measurements_port)->GEN(measurements(new java.util.Vector()))"

Thanks!

- Jukka
Report this to a Moderator Report this to a Moderator
 10-May-2006 04:52
User is offline View Users Profile Print this message


Jukka Peltola

Posts: 5
Joined: 2-May-2006

This must have been a tough one...
Report this to a Moderator Report this to a Moderator
 10-May-2006 07:03
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

Hi Jukka,

As a starting note: I'm not using RiJ at all...

- but if you have a RiJ model with ports and run a "check model", it looks like it does not support code generation for ports:[size=1]
[/size]
[CODE]
Warning: Ports code generation is supported only in C++. They will be ignored.
[/CODE]
Therefore, my conclusion must be, that it is not possible to use port in RiJ.

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
 11-May-2006 07:56
User is offline View Users Profile Print this message


Jukka Peltola

Posts: 5
Joined: 2-May-2006

Thanks, Jasper!

I ran the check model too and got the same warning.

It looks like I have to switch to C++. (and get to know the tool's features better )

Bye,

Jukka
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.