knowledge-database (beta)

Current group: comp.soft-sys.ptolemy

Re: Jni interface

Re: Jni interface  
Christopher Brooks
From:Christopher Brooks
Subject:Re: Jni interface
Date:Thu, 20 Jan 2005 08:19:50 -0800
The JNI UI is documented as not working.
Unless someone fixes the UI, I'm probably going to pull it from the
5.0 release.

$PTII/doc/ptII4.0.release.htm
which is also found as
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/ptII4.0.1/doc/ptII4.0.release.htm

Says
--start--
Limitations in JNI
------------------
* The Interface to C actors using the Java Native Interface is not
available via the Windows Installer (or Web Start). To use the
JNI/Ptolemy II interface, you must download Ptolemy II as source files
and compile.
* The JNI user interface does not permit creation of new JNI actors.

If you follow the instructions in JNIUtilities, then eventually you
will get a NameDuplicationException.

The resulting model will be missing

value="false,false,true,double">


We are working with the original authors on a solution.
In the short term, one workaround is to edit the xml file directly and
add the appropriate property by hand.
* JNI will not work with Hierarchical classes, subclasses, and inner
classes
--end--

_Christopher
--------

hi
i tried to add meaningOfLife actor in ptolemy using JNI interface.
when trying to configure the created actor

name : output
type: double

i get the following exception.

"change failed:
xml element "property" triggers exception
ptolemy.kernel.util.NameDuplicationException:
Attempt to insert object named "output" into container named
"meaningOfLife.meaningOfLifeImeaningOfLife" which already contains an objec
t
with that name in [external stream]at line 1 and column 73 caused by:
ptolemy.kernel.util.NameDuplicationException"
How to overcome it.
please help me.
-karthik venkatesh.

_________________________________________________________________
Connect with 1000s of singles.
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Receive chat
requests. Instant message Now.


---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
--------

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
   

Copyright © 2006 knowledge-database   -   All rights reserved