Project

General

Profile

Actions

Bug #2685

closed

confused about the MOML file

Added by jordan jordan over 17 years ago. Updated almost 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
11/28/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2685

Description

I am trying to create a KAR for an actor, but can't seem to make my output port visible. I wish to have an input port and an output port. I can't seem to find any documentation on the exact specifics of how the MOML file is to be setup (the XML descriptor of the actor). Here's my XML file below:


<entity name="VorbLogger" class="ptolemy.kernel.ComponentEntity">
<property name="entityId"
value="urn:lsid:kepler-project.org:actor:508:1"
class="org.kepler.moml.NamedObjId" />
<property name="class" value="org.ROADnet.Vorb.VorbLogger"
class="ptolemy.kernel.util.StringAttribute">
<property name="id"
value="urn:lsid:kepler-project.org:class:983:1"
class="ptolemy.kernel.util.StringAttribute" />
</property>
<property name="filePath" class="org.kepler.moml.PortAttribute">
<property name="direction" value="input"
class="ptolemy.kernel.util.StringAttribute" />
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute" />
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute" />
<property name="semanticType00"
value="urn:lsid:localhost:onto:1:1#ImageManipulationActor"
class="org.kepler.sms.SemanticType" />
</property>
<property name="triggerReady"
class="org.kepler.moml.PortAttribute">
<property name="direction" value="output"
class="ptolemy.kernel.util.StringAttribute" />
<!--
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute" />
-->
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute" />
<property name="semanticType00"
value="urn:lsid:localhost:onto:1:1#ImageManipulationActor"
class="org.kepler.sms.SemanticType" />
</property>
</entity>

Actions #1

Updated by Chad Berkley almost 17 years ago

You'll need to add the ports in your java class as well as the moml. This isn't a kepler bug.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2685

Actions

Also available in: Atom PDF