Re: Changing parameter in ptolemy from a java application

2009-02-12 Thread Christopher Brooks
. Please send administrative mail for this list to: ptolemy-hackers-requ...@ptolemy.eecs.berkeley.edu -- Christopher Brooks (cxh at eecs berkeley edu) University of California CHESS Executive Director US Mail: 337 Cory Hall Programmer/Analyst CHESS/Ptolemy/TrustBerkeley

Abstracts due on 1/16 for Ptolemy Tutorial and Miniconference: April 15-16, 2009

2009-01-04 Thread Christopher Brooks
://ptolemy.eecs.berkeley.edu/conferences/09 Please direct questions to ptconf09 at ptolemy eecs berkeley edu -- Christopher Brooks (cxh at eecs berkeley edu) University of California CHESS Executive Director US Mail: 337 Cory Hall Programmer/Analyst CHESS/Ptolemy/Trust

Re: Updated documentation on JNI

2008-11-28 Thread Christopher Brooks
custom actor in C using JNI ? Thanks Regards, Sapan Agarwal Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED] -- Christopher Brooks (cxh at eecs

Re: equals() and hashCode() in Ptolemy Actors

2008-10-27 Thread Christopher Brooks
them). Thanks, Christopher! On Mon, Oct 27, 2008 at 12:40 PM, Christopher Brooks [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Richard, Actors usually don't have equals() and hashCode() methods. However, if you define a custom token, like actor.lib.security.KeyToken

8th Biennial Ptolemy Miniconference: April 16, 2009

2008-10-09 Thread Christopher Brooks
http://ipsn.acm.org/2009/callforpapers.html - Due Oct 15 Hybrid Systems: Computation and Control (HSCC'09) http://www.ee.ucla.edu/~hscc09/HSCC09CFP.pdf - Extended to Oct 17 _Christopher -- Christopher Brooks (cxh at eecs berkeley edu) University of California Chess Executive Director

Subversion (svn) access to the ptII repository via https

2008-09-18 Thread Christopher Brooks
to the svn repository via ssh. I'm offering this primarily to our corporate sponsors who all seem to be behind firewalls that block ssh. This method of accessing the ptII svn repository and other methods are documented at http://chess.eecs.berkeley.edu/ptexternal _Christopher -- Christopher

Re: Discarded Changes Reappear

2008-09-02 Thread Christopher Brooks
Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED] -- Christopher Brooks (cxh at eecs berkeley edu) University of California Chess Executive Director US Mail: 337 Cory Hall Programmer/Analyst Chess

Re: Ptolemy running headless

2008-08-18 Thread Christopher Brooks
Hi Paul, Offhand, I'm not sure. There are really several different headless modes: 1) Run Ptolemy and do not invoke any classes that attempt to communicate with the display. This means that no gui classes in java are called by Ptolemy. This is what I usually call Headless. 2) Run Ptolemy

Problem with escaped characters in MoML, [was Re: bug report.]

2008-07-11 Thread Christopher Brooks
Hi Jianwu, This seems to be an issue with Kepler's documentation system. The custom documentation system in Ptolemy works fine. The difference between the two .xml files you attached is below: [EMAIL PROTECTED] 34% diff model1.xml model2.xml 4c4 entity name=model3

Re: ptolemy.actor.util.Time

2008-07-08 Thread Christopher Brooks
Hi Jia, Actually, the Javadoc for java.lang.Comparable says that java. Note that null is not an instance of any class, and e.compareTo(null) should throw a NullPointerException even though e.equals(null) returns false. So, equals(null) should return false and compareTo(null) should throw

Ptolemy II CVS repository converted to Subversion

2008-06-11 Thread Christopher Brooks
is available with: svn checkout svn://source.eecs.berkeley.edu/chess/ptII/trunk mv trunk ptII Eclipse instructions can be found at $PTII/doc/coding/eclipse.htm which is available as http://chess.eecs.berkeley.edu/ptexternal/nightly/doc/coding/eclipse.htm _Christopher Christopher Brooks (cxh

Re: 1000 actors, 4000 links

2008-06-10 Thread Christopher Brooks
Hi Richard, We have an SDF model that has the following size. AtomicEntities: 12920 CompositeEntities: 1642 Relations: 22415 Attributes: 65331 so, it is possible to build large models in Ptolemy II. I think this model got up to about 19k AtomicEntities. However, it takes

Re: Problem with MultiplyDivide in SDF domain

2008-06-06 Thread Christopher Brooks
Hi Nick, Do you have a small sample model that you could send as an attachment? Also, make that under DE your inputs have the trigger port connected. _Christopher Hello, all! I have been using DE domain model for some simulation and high-level SDF do = main

Re: a couple of user interface questions on Ptolemy 7.0.1

2008-06-05 Thread Christopher Brooks
/doc/default.css _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Chess Executive Director US Mail: 337 Cory Hall #1774 Programmer/Analyst Chess/Ptolemy/TrustBerkeley, CA 94720-1774 ph: 510.643.9841 fax:510.642.2718 (office

Re: No VHDL domain in 0.7.2devel?

2008-05-25 Thread Christopher Brooks
. _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Chess Executive Director US Mail: 337 Cory Hall #1774 Programmer/Analyst Chess/Ptolemy/TrustBerkeley, CA 94720-1774 ph: 510.643.9841 fax:510.642.2718 (office: 400A Cory) home: (F-Tu

Ptolemy II 7.0.1 is available for download

2008-04-07 Thread Christopher Brooks
uses a JRE, not a JDK. Primary Codegen Developers: Gang Zhou, Man-kit Leung. Codegen Contributors: Christopher Brooks, Teale Fristoe, Edward A. Lee, Ye Zhou Ptalon Actor-oriented design is a common design strategy in embedded system design, where actors are concurrent

Re: Error installing Ptolemy on ubuntu

2008-04-07 Thread Christopher Brooks
. Thanks in advance, Eva Kolega Phd Student National Technical University of Athens, Greece Christopher Brooks [EMAIL PROTECTED] said: Hi Eva, Ok, I can replicate this with Sun's java. The version of Java I

Re: Error installing Ptolemy on ubuntu

2008-04-04 Thread Christopher Brooks
`/usr/local/src/ptII6.0.2/doc' make: *** [subinstall] Error 2 Christopher Brooks [EMAIL PROTECTED] said: Hi Eva, Either your classpath is not set properly or else the file $PTII/ptolemy/data/TypeLattice.class does not exist. Does $PTII/ptolemy

May 5 workshop on CAL Actor Language in Italy

2008-04-04 Thread Christopher Brooks
about the workshop including programme can be found on http://www.artist-embedded.org/artist/DataFlow-Modeling-for-Embedded.html Organizing Committee: Karl-Erik Arzen, Lund University Johan Eker, Ericsson Giorgio Buttazzo, SSSA Pisa --end-- _Christopher Christopher Brooks (cxh at eecs

Re: Error installing Ptolemy on ubuntu

2008-03-31 Thread Christopher Brooks
Hi Eva, Either your classpath is not set properly or else the file $PTII/ptolemy/data/TypeLattice.class does not exist. Does $PTII/ptolemy/data/TypeLattice.class exist? Did you build Ptolemy using the commands below? cd $PTII ./configure make make.out Does make.out contain errors? Look for

Re: Exception for Vergil Application

2008-03-17 Thread Christopher Brooks
://java.about.com/od/tutorials/ss/SetClasspath.htm Getting Tinyos and Viptos to work can be tricky, I suggest you work from the version of Tinyos that is on the Viptos website. We are providing limited support for Viptos, in part because of the complexity of the interface. _Christopher Christopher

Ptolemy II 7.0.beta is available for download.

2008-02-07 Thread Christopher Brooks
. 786-799. Codegen Demonstrations Some of the code generation demos might not work under Web Start because Web Start uses a JRE, not a JDK. Primary Codegen Developers: Gang Zhou, Man-kit Leung. Codegen Contributors: Christopher Brooks, Teale Fristoe, Edward A. Lee, Ye Zhou

Re: High latency in PtII javasound library

2008-02-02 Thread Christopher Brooks
Hi JS, Edward created ptolemy/actor/lib/javasound/ClipPlayer.java, which plays a sound file. This actor is in the CVS tree, it is not yet released. The DE demo RealTimeComposite uses ClipPlayer. See http://chess.eecs.berkeley.edu/ptexternal for CVS access. However, it sounds like you want to

Re: [kepler-users] System Dynamics Actor?

2008-01-31 Thread Christopher Brooks
Hi Louis, The short answer is that to my knowledge, no one is working on a BerkeleyMadonna actor. Our previous thread can be found at: http://www.mail-archive.com/ptolemy-hackers@bennett.eecs.berkeley.edu/msg00240.html _Christopher I'm confused... Ptolemy has had system

Re: [kepler-dev] Matlab configuration on MacOSX

2008-01-17 Thread Christopher Brooks
Hi Ilkay, You might be able to change variables in ptII/mk/ptII.mk for MacOSX. You could also update configure, but that takes a little doing. If you tell me what variables you change, we can iterate offline on getting configure.in updated. I don't have a Mac on which to test the Matlab code.

Re: ptolemy II in a loop mode for automatic testing

2007-12-10 Thread Christopher Brooks
a parameter in wrapup and optionally export the data. Thanks for your support PtII is definitely a great simulation framework ..!! Thanks! We like it :-) Vincent HP _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Chess Executive Director

Re: suggestion --Problem Solved-Viptos is running now

2007-11-26 Thread Christopher Brooks
of Java to be used? 2-shall i put this package for download by those who'd like to work on VMWare? --- Christopher Brooks [EMAIL PROTECTED] wrote: Hi Wahid, Yep, getting Viptos to work is tricky. Locally, we have something called The Edward

Re: trouble getting viptos started

2007-11-18 Thread Christopher Brooks
Hi Wahid, Running configure is not guessing the proper Java architecture. Details below From: Wahid [EMAIL PROTECTED] To: Christopher Brooks [EMAIL PROTECTED], ptolemy-hackers@bennett.EECS.Berkeley.EDU Subject: Re: trouble getting viptos started Date: Sat, 17 Nov 2007 06:07:11 -0800

Re: SDFScheduler rate variables not removed at new model execution

2007-10-08 Thread Christopher Brooks
Hi Richard, I had a look at this and I'm having a hard time reproducing it. That doesn't mean it is not a bug, it just means I can't reproduce it. :-) Stephen Neuendorffer suspects that what you report is indeed a bug, but until I can reproduce it, I can't fix it. What I did was create

Re: Data Type Mapping

2007-08-06 Thread Christopher Brooks
I would use ArrayToken over RecordToken, as my gut level feeling is that ArrayToken is likely to be faster than RecordToken. _Christopher Greetings, I am looking at how I might represent an N dimensional array in the ptolemy data model. There is an

Re: [kepler-dev] Question on linking two multiports

2007-05-07 Thread Christopher Brooks
4, 2007, at 12:27 PM, Christopher Brooks wrote: Another trick is to place a relation between the two, connect the relation to either port, then right click on the relation and set the width. The width will be displayed numerically next to the relation

Re: [kepler-dev] Question on linking two multiports

2007-05-04 Thread Christopher Brooks
Another trick is to place a relation between the two, connect the relation to either port, then right click on the relation and set the width. The width will be displayed numerically next to the relation. This called a bus relation, it was introduced with this change to

Re: How to update Ptolemy II

2007-03-01 Thread Christopher Brooks
Hi Boldoo, 6.0.2 is a new release that is meant to be installed standalone. If you wish, you can keep 6.0.beta on your machine and have both 6.0.beta and 6.0.2. _Christopher Hi hackers, how is Ptolemy II update done? (Ptolemy II 6.0 beta - Ptolemy II 6.0.2)

Re: NullPointerException from initialize()

2007-02-27 Thread Christopher Brooks
Hi Boldoo, I see no apparent reason why you would get a NullPointerException. Perhaps the cause of the exception is further down the stack trace? Do you have a complete test case? It is a little odd that you are sending data during initialize() though. Can you use the regular Ptolemy Parameter

Re: adding a new director

2007-02-23 Thread Christopher Brooks
Boldoo [EMAIL PROTECTED] writes: Hi hackers, 1. How one could add a new director to Ptolemy II? is it similar to adding a new actor? Professor Lee talked about how to add a director in last week's Ptolemy Ptutorial. His notes are at http://chess.eecs.berkeley.edu/pubs/194.html 2. After

Re: How Don't get the sending Message

2007-02-21 Thread Christopher Brooks
Hi Saeid I'm not sure I understand. The real world is not single threaded. When a radio sends out a message, the receivers all receive the message simultaneously. (This is not strictly true, since the receivers are different distances from the the transmitter, so they receive the messages at

Re: Classes, instances and the user library again

2007-02-21 Thread Christopher Brooks
Hi Hans, Sorry for the delay on getting back to you, the Tutorial and Miniconference took up all my time and then some. You wrote: From: [EMAIL PROTECTED] To: ptolemy-hackers@bennett.EECS.Berkeley.EDU Subject: Classes, instances and the user library again Date: Mon, 5 Feb 2007 17:57:44 +0100

Re: Ptolemy 0.7.1

2007-02-19 Thread Christopher Brooks
Ptolemy 0.7.1 is quite old, but it can be found at http://ptolemy.eecs.berkeley.edu/ptolemyclassic/pt0.7.1/ (Searching Google for Ptolemy 0.7.1 yields that URL.) You might want to use Ptolemy II 6.0.2 instead. For a comparison, see

Ptolemy II 6.0.2 is available for download

2007-02-08 Thread Christopher Brooks
and paste issue solved. - RunnableGraphController: set the message handler context properly Ptolemy II 6.0 Highlights * Ptolemy II C Code Generation Primary Developers: Jackie Leung, Gang Zhou, Ye Zhou, Edward A. Lee, Christopher Brooks

Re: PtPlot streched images

2007-02-02 Thread Christopher Brooks
PlotFormatter.java We have no plans on doing this work though, so you would need to do it yourself. Thank you for this project and sorry for my badde english! Your english is excellent! No worries. _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Programmer/Analyst Chess

Re: Question:IllegalActionException.

2007-02-01 Thread Christopher Brooks
in HyVisual 6.0.1. Regards, Rajarshi. Christopher Brooks [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/30/2007 09:25 PM To [EMAIL PROTECTED] cc ptolemy-hackers@bennett.EECS.Berkeley.EDU Subject Re: Question:IllegalActionException

Re: Question:IllegalActionException.

2007-01-30 Thread Christopher Brooks
Hi Rajarshi, That sounds like a scoping problem of some sort. Can you try it in Ptolemy II 6.0.1 and if it fails, then post a small example? _Christopher Hello all, When i try running a simulation of my HSIF model written as xml file in HyVisual 5.0.1,

Re: Ptolemy II 6.0.1 installation issues on Mac

2007-01-24 Thread Christopher Brooks
I don't have a Mac, so tracking these down is a little tricky. I'll see what I can do and report back. I think the basic problem is that on the Mac the layout of the Java tree is different than it is under Windows, Solaris and Linux. I'd be interested in knowning how the build in Eclipse did not

Ptolemy II 6.0.1 is available for download

2007-01-19 Thread Christopher Brooks
Primary Developers: Jackie Leung, Gang Zhou, Ye Zhou, Edward A. Lee, Christopher Brooks Ptolemy II can now generate C code for SDF, FSM and HDF models. This new code generator consists of actor templates (called helpers) that contain C code stubs that are stitched

Ptolemy Developer's Tutorial, 2/12. Miniconference: 2/13

2007-01-02 Thread Christopher Brooks
on them available at the tutorial. Most UC Berkeley Ptolemy developers use Windows. If you have a Mac, we will do our best. The current draft agenda is: * Registration, Continental Breakfast, Laptop setup * Building Ptolemy II (Christopher Brooks) CVS access configure Coding Style

Re: Problem Using Matlab Expression

2007-01-02 Thread Christopher Brooks
the wrapper. I'll also see if building the Ptolemy II interface by using Microsoft Visual C makes a difference. The easiest thing would be for you to build Ptolemy II from source and then invoke ptolemy by running $PTII/bin/vergil -jni See $PTII/doc/install.htm _Christopher Christopher Brooks (cxh

Ptolemy Developer's Tutorial, 2/12. Miniconference: 2/13

2006-12-14 Thread Christopher Brooks
on them available at the tutorial. Most UC Berkeley Ptolemy developers use Windows. If you have a Mac, we will do our best. The current draft agenda is: * Registration, Continental Breakfast, Laptop setup * Building Ptolemy II (Christopher Brooks) CVS access configure Coding Style

Re: IterateOverArray fix

2006-12-05 Thread Christopher Brooks
Hi J.S., Thanks for the patch, I added a test and then added your patch. _Christopher This is a multi-part message in MIME format. --030604050704090607000503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit

Re: Counter Reset

2006-11-22 Thread Christopher Brooks
Hi Pankaj, Try the Accumlator actor. Or, you could modify the Counter actor so that it has a reset port, see the Accumlator actor for an example of how to do this. Hi All, Is there any way to reset the counter primitive ? The counter provided goes on incrementing or decrementing depending on

Ptolemy Developer's Tutorial: Monday, February 12, 2007

2006-11-22 Thread Christopher Brooks
' to: University of California At Berkeley Tracey Richards 337 Cory Hall #1770 Berkeley, CA 94720-1770 At the conference, we will accept major credit cards and cheques. Direct questions to ptconf07 at ptolemy eecs berkeley edu _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California

Re: [Ptolemy] SDFScheduler fix to support direct input and output connection

2006-11-22 Thread Christopher Brooks
Hi Gang, Many thanks for the quick turnaround on this. This solves the problem that J.S. reported where a Modal Model that has just a straight through connection was not working. Professor Lee pointed out that the problem is that a composite actor that has a SDF Director, a straight through

Re: Bug in RecordUpdate

2006-11-14 Thread Christopher Brooks
Hi J.S, Thanks I added your test case to the tree as actor/lib/test/auto/RecordUpdater2.xml The model has a RecordUpdater with three inputs. Const || Const2 ||--- Const3 || The last input port of the RecordUpdater (associate with Const3) has a type constraint that is

Re: Patch the RecordToken

2006-11-13 Thread Christopher Brooks
Hi JS, I patched RecordToken and RecordType with the Map constructors. I also added a few more tests. Thanks! _Christopher Good point. However, you'll see that I also added a RecordToken(Map fields) constructor that does not violates that immutability premise. I think

Re: Modeling of data-processing environment based on GRID technology

2006-11-02 Thread Christopher Brooks
Use Kepler. http://www.kepler-project.com Also, please don't send email with so many people on the To: line. I'm sure most sites saw it as spam. The Ptolemy-hackers mailing list is a good place for questions like this. http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#mailing%20list

Ptolemy II 6.0.beta is available for download

2006-11-01 Thread Christopher Brooks
, Edward A. Lee, Christopher Brooks Ptolemy II can now generate C code for SDF, FSM and HDF models. This new code generator consists of actor templates (called helpers) that contain C code stubs that are stitched together. Only a subset of actors have helpers, so only

Ptolemy Miniconference: titles and abstracts proposals due today, 10/31

2006-10-31 Thread Christopher Brooks
Just a reminder that we are looking for titles and abstract proposals for presentations and posters at the February Miniconference. The due date for the titles and abstracts is 10/31 _Christopher The 7th Biennial Ptolemy Miniconference will be held on Tuesday, February 13,

Re: Integrating cycle-level processor simulator?

2006-10-24 Thread Christopher Brooks
I don't have a good answer for you. We are not doing cycle-level simulations of processors at this time in Ptolemy II. _Christopher I want to make a simulation model of embedded application (wireless sensor network motes OR streaming multimedia portable system). I'm from

Ptolemy Miniconf titles and abstracts due on 10/31

2006-10-24 Thread Christopher Brooks
Just a reminder that we are looking for titles and abstract proposals for presentations and posters at the February Miniconference. The due date for the titles and abstracts is 10/31. _Christopher The 7th Biennial Ptolemy Miniconference will be held on Tuesday, February 13,

Re: Regarding Creating the Documentation of newly build actors

2006-10-19 Thread Christopher Brooks
Hi Pankaj, Good question, but I'm slightly confused by your question. I believe that what you would like is to generate documentation for actors that you have added to the User Library. In Ptolemy II 6.0.alpha, if I add an actor to the User Library and that actor is a regular Ptolemy actor

Re: Ptolemy Miniconference: February 13, 2007, Berkeley: request for titles and abstracts

2006-10-17 Thread Christopher Brooks
Just a reminder that we are looking for titles and abstract proposals for presentations and posters at the February Miniconference. The due date for the titles and abstracts is 10/31 _Christopher The 7th Biennial Ptolemy Miniconference will be held on Tuesday, February 13,

Ptolemy II 6.0.alpha is available for download.

2006-10-02 Thread Christopher Brooks
* Ptolemy II C Code Generation Primary Developers: Jackie Leung, Gang Zhou, Ye Zhou, Edward A. Lee, Christopher Brooks Ptolemy II can now generate C code for SDF, FSM and HDF models. This new code generator consists of actor templates (called helpers

Re: GroovyScript actor

2006-10-02 Thread Christopher Brooks
Hi Joe, See http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#Contributions Ideally, we would ship it under the Ptolemy copyright, which is based on the BSD copyright. If this is not ok, then we could put it in the contrib directory, which will appear in 6.0.beta if need be. I would put

Ptolemy Miniconference: February 13, 2007, Berkeley: request for titles and abstracts

2006-09-29 Thread Christopher Brooks
Research Symposium (BEARS) will be on Thursday, February 15, 2007. _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Programmer/Analyst Chess/Ptolemy/TrustUS Mail: 558 Cory Hall #1774 ph: 510.643.9841 fax:510.642.2718 Berkeley, CA 94720-1774 home: (F

Re: A few questions about ptolemy.actor.gui core classes

2006-09-27 Thread Christopher Brooks
models with GUI models. _Christopher Christopher Brooks wrote: JS writes: Hi, We're currently digging into PtII GUI classes to try to build our own GUI for Drone (http://drone.ws). Our first objective is to be able to list available models

Re: A few questions about ptolemy.actor.gui core classes

2006-09-26 Thread Christopher Brooks
JS writes: Hi, We're currently digging into PtII GUI classes to try to build our own GUI for Drone (http://drone.ws). Our first objective is to be able to list available models and show a tree view of the currently loaded model in our GUI (we're not using diva/vergil but AWT and

Re: GroovyScript actor?

2006-09-24 Thread Christopher Brooks
Hi Joe, Yes there is no Groovy actor. Jython is a Java implementation of Python. We do have a Jython actor in $PTII/ptolemy/actor/lib/python. We use Jacl, a subset of Tcl implemented in Java for the test suite. I like the quick turn around of writing tests in Jacl. There is no Jacl actor. See

Re: suggestion: eliminate distinction between customize name and configure

2006-09-22 Thread Christopher Brooks
[EMAIL PROTECTED] writes: It would be a good usability enhancement to just be able to double-click on an Actor and see all the configurable properties. Having to use the context menu is a bit frustrating. The Kepler Project (http://www.kepler-project.org) uses parts of Ptolemy and they have

Re: exception: is not a consumer receiver?

2006-09-22 Thread Christopher Brooks
Hi Joe, After looking at your model, it looks like you have a model with a toplevel PN directory with a MultiInstanceComposite that has a PN director itself. I was able to run your model when I removed the PN director inside the MultiInstanceComposite. In general, my understanding is that one

Re: exception: is not a consumer receiver?

2006-09-21 Thread Christopher Brooks
Hi Joe, I don't think I've seen this one. Can you send a small test case? You could also try the development version of Ptolemy II see http://chess.eecs.berkeley.edu/ptexternal. There have been some changes to this code since 5.0.1 _Christopher I am getting the following

Re: SDF stalling when using synchronizeToRealTime

2006-09-20 Thread Christopher Brooks
Hi JS, Thanks for the patch, I created a test and then folded your change in to SDFDirector.prefire() About the while loop in prefire(), if the _workspace.wait() was interrupted, then I think we would want to loop back through until the time was right. I'm not sure about this, but that's my

Re: Dependencies in Ptolemy II's core

2006-09-15 Thread Christopher Brooks
Hi JS, Thanks for your comments to my comments on the wiki, I made some further updates. The wiki is at https://lethe.koumbit.net/trac/drone/wiki/DevNotes/PtolemyII Hi, This is JS from the Drone group. First, thanks a lot for your quick and extensive answer: we are currently running again

Re: Ptolemy II for a real-time multimedia platform?

2006-09-14 Thread Christopher Brooks
to use than C++ and I don't see major runtime perfomance issues in Java as compared with C++. This might be because the areas I work in are not CPU bound tasks. I'll take a look at your wiki and make some updates. _Christopher Christopher Brooks (cxh at eecs berkeley edu) University

using actors not in CLASSPATH

2006-09-08 Thread Christopher Brooks
I'm fairly certain you would need to have the actor in the classpath. It might be possible to define a custom ClassLoader that would have the actor in question in the classpath. However, things get tricky. We thought about using a custom URLClassLoader to help with reloading classes, see the

Re: Hardware in the loop Simulation in Ptolemy

2006-09-06 Thread Christopher Brooks
Hi David, Ptolemy II has an interface to JHDL which is a set of FPGA tools. A summary can be found at http://groups.yahoo.com/group/ptolemy-hackers/message/2130 Ptolemy II has two code generators, see http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#CodeGen Currently, we are doing some

Ptolemy Miniconference: February 13, 2007, Berkeley

2006-08-15 Thread Christopher Brooks
The 7th Biennial Ptolemy Miniconference will be held on Tuesday, February 13, 2007 in Berkeley. In the past we have had talks, a poster session, a keynote and a reception. At this time, we have not determined the details of the program, but I wanted to give a heads up for travel purposes. We

Re: augment pTolemy performances

2006-08-14 Thread Christopher Brooks
Hi Beppe, The best thing to do is to run a profiler on your code and see if there are any obvious bottlenecks. See ptII/doc/coding/performance.htm You could also try the development version of Ptolemy II, available via http://chess.eecs.berkeley.edu/ptexternal Using ptexecute will usually be

Re: New user question re: running MoML files from command lines

2006-08-14 Thread Christopher Brooks
Hi Mark, Sorry for the delay, I was on vacation. If you installed from the Windows installer, you can optionally install the sources as well. You would then need to install Cygwin, set the $PTII variable, run configure and make. Running make in $PTII/bin creates those ptolemy, ptexecute and

Nightly build jar files available

2006-08-01 Thread Christopher Brooks
I've set up the nightly build so that we are saving tars of the complete nightly build at http://chess.eecs.berkeley.edu/ptexternal/nightly/ There are -latest files that point to the latest version. For each day, we have the following files: ptII-YY-MM-DD.tar.gz (ptII-latest.tar.gz) Full

Re: [kepler-dev] PN + NondeterministicMerge bug/question (fwd)

2006-07-31 Thread Christopher Brooks
Hi Norbert, I modified your example slightly and added it as a test as ptII/ptolemy/domains/pn/test/auto/Branching-switch-PN-ptolemy.xml I can't get this to fail though. I'm running under Java 1.5.0_06 under Windows with the Ptolemy CVS tree. I changed the Sleep actor to 0L and I always get 10

Re: Ptolemy II main entry point

2006-07-28 Thread Christopher Brooks
Hi Sung-Wen, To start Vergil, use ptolemy.vergil.VergilApplication. http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#invoking%20Ptolemy%20II? says: --start-- If you install Ptolemy II using the Windows installer, then menu choices should be added to Start - Programs - Ptolemy. Ptolemy II

Re: auto scale labelling

2006-07-17 Thread Christopher Brooks
Hi Cedric, To do this, you would need to modify the source code in ptolemy/plot/PlotBox.java. Look especially in _drawPlot() for places where _xExp is set and used: For example, you might try changing: // Use the exponent only if it's larger than 1 in magnitude. if ((_xExp 1)

Re: Nondeterministic merge in PN domain

2006-07-14 Thread Christopher Brooks
, -ilkay On Jun 22, 2006, at 3:23 PM, Christopher Brooks wrote: Hi Ilkay, I'm not sure. Edward checked in a working nondeterministic merge on 03 Oct 2004. I'm a little confused though, because the CVS head of Ptolemy has a working nondeterministic

Re: Generating applet with copernicus

2006-07-13 Thread Christopher Brooks
in generating applet with Copernicus based on those Ptolemy models I created. It's no problem generating applet with the Ptolemy II available models. It seem like some other settings are incorrect. Can anyone help me use the Copernicus command? Thanks in advance! Jian-ming -- Christopher Brooks

Re: trying to get 5.6 ptplot to work errors

2006-07-12 Thread Christopher Brooks
Hi Pamela, I think the problem is that the Ptplot-5.6-devel was compiled with Java 1.5 and you are running Java 1.4. 5.6 should compile just fine with Java 1.4. I'll see about fixing the release sometime soonish. _Christopher Hi, I am trying to get ptplot5.6-devel to

Re: Information about Sleep actor

2006-06-05 Thread Christopher Brooks
/4/2006, Christopher Brooks wrote: Hi Adriana, Edward wrote: I think it would be OK to restore _wasSleepCalledInFireYet and correctly implement sleeping only once... This will be an issue with the new DE domain that Haiyang and I are building as well

Re: [Ptolemy] Test failures

2006-06-03 Thread Christopher Brooks
machine and will check it back into the repository when I find a solution. From: Christopher Brooks [EMAIL PROTECTED] To: Lutz, Charles D [EMAIL PROTECTED] Subject: Re: Undefined port error - repeatable behavior Cc: ptolemy-hackers@bennett.EECS.Berkeley.EDU Date: Thu, 18 May

Matt Jones: [kepler-members] kepler-1.0.0beta1 released

2006-06-02 Thread Christopher Brooks
Matt Jones announced Kepler 1.0.0beta1, see http://www.kepler-project.org/ The Kepler website says: Scientists in a variety of disciplines (e.g., biology, ecology, astronomy) need access to scientific data and flexible means for executing complex analyses on those data. Such

Re: Information about Sleep actor

2006-06-01 Thread Christopher Brooks
Hi Adriana, I'm not quite sure what happened to the Sleep actor, it has evolved slowly over time. I believe the idea behind having the actor call Thread.sleep() only once in fire() was to support domains like CT which call fire() multiple times and then update values in postfire(). We had a

Re: variance calculating function

2006-06-01 Thread Christopher Brooks
Hi Nandita, Yes, there is no variance function. You could add one by editing ptolemy/data/expr/UtilityFunctions.java _Christopher Nandita writes: Hi there, I had implemented a variance actor , which calculates simple variance give n an array...however I was wondering

Re: right-click drag for Modal Model on Mac OS Xright-click drag for Modal Model on Mac OS X

2006-06-01 Thread Christopher Brooks
. _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Programmer/Analyst Chess/Ptolemy/TrustUS Mail: 558 Cory Hall #1774 ph: 510.643.9841 fax:510.642.2718 Berkeley, CA 94720-1774 home: (F-Tu) 707.665.0131 (W-F) 510.655.5480 (office: 400A Cory

Re: Undefined port error - repeatable behavior

2006-05-18 Thread Christopher Brooks
Hi Chuck, It looks like a different bug in the devel tree as well. I took your model, replaced the Display actors with Tests and added it as ptolemy/actor/lib/hoc/test/auto/QueueOutsideMIC.xml ptolemy.kernel.util.IllegalActionException: in .QueueOutsideMIC.MoMLSimpleApplication Because:

Re: Error: The length of the specified array is zero.

2006-05-15 Thread Christopher Brooks
Hi Chuck, Zero length ArrayTokens are somewhat supported in the devel tree. One issue is that if one has an ArrayToken with zero elements, then what is the type of the element? (Sounds like If a tree falls in the forest. . .) I'm not sure if upgrading will solve your problem though. Zero

Re: Visual indication of channel ordering on a multiport?

2006-05-09 Thread Christopher Brooks
Hi Chuck, To get multiport ordering, you would need to build Ptolemy II from CVS, see http://chess.eecs.berkeley.edu/ptexternal The multiport visualization work is not present in 5.0.1. In principle, we are working on an upcoming Ptolemy II 6.0 release. The release will feature the codegen work

Re: Berkeley Madonna and System Dynamics

2006-05-04 Thread Christopher Brooks
PROTECTED] To: Christopher Brooks [EMAIL PROTECTED]; Louis Macovsky, Dynamic BioSystems [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; ptolemy-hackers@bennett.eecs.berkeley.edu Sent: Monday, May 01, 2006 8:56 AM Subject: Re: Berkeley Madonna and System Dynamics Hi, Lou

Re: GIS i/o

2006-04-28 Thread Christopher Brooks
The Kepler project (http://www.kepler-project.org) has GIS actors. If you download Kepler and search for GIS, you'll find a number of GIS actors. _Christopher Hi, Has anyone linked actors or other components to GIS data for source data and then return data to GIS to

Re: Unconnected Actors?

2006-04-28 Thread Christopher Brooks
Jose writes: What's the best way to set the value of a Parameter if not with SetVariable? I'm a bit of a purist. If a value is to change at runtime, I prefer it to be a port instead of a parameter. This is especially when using sdf, I like to see the data flow through ports. SetVariable

Re: Unconnected Actors?

2006-04-26 Thread Christopher Brooks
Jose Salcedo [EMAIL PROTECTED] writes: Good morning Hackers, I've been having problems using the SDF directors and getting error messages about disconnected actors. I've created a simple model that quickly get that error. It's seems that nothing in the in one of my

Re: CT under DE

2006-04-24 Thread Christopher Brooks
Hi Mart, DE works under CT, see ptolemy/domains/de/test/auto/deInCt.xml ptolemy/domains/de/test/auto/deInCt2.xml CT should work fine inside a modal model, but a quick search did not find an example. Perhaps someone else has something to say. Mixing domains can be tricky, try having a look at

Re: problem in using inout port connection

2006-01-20 Thread Christopher Brooks
What model of computation are you using? Ports that are both input and output ports probably don't works very well in SDF. I don't usually use ports that are both inputs and outputs, someone else might have some insight. If you have a small test case, we could take a look. _Christopher

Re: Startup performance

2005-12-30 Thread Christopher Brooks
the test against null for portList().iterator(), and entityList().iterator(). Edward At 12:52 PM 12/28/2005 -0800, Christopher Brooks wrote: Kevin wrote: I saw a commit you made to ptolemy.kernel.util.NamedObj, specificially r1.303 where you reimplemented

  1   2   >