Ptolemy Classic available via CVS, Ptolemy Classic runs under Windows

2005-08-31 Thread Christopher Brooks
, which I was able to compile under gcc-3.4.4 after a couple of minor changes to the gcc-2.95.3 tree, documented in http://ptolemy.eecs.berkeley.edu/~cxh/ptpub/nt/ptxpinstall.html _Christopher Christopher Brooks (cxh at eecs berkeley edu) University of California Programmer/Analyst Chess/Ptolemy/Trust

Re: Use of PtolemyII

2005-09-23 Thread Christopher Brooks
I can't address vectorization in CT. I can address performance. If possible, try running your model without the Vergil UI. See http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#invoking%20Ptolemy%20II? Using MoMLSimpleApplication and running a non-graphical model without invoking the Java

Ptolemy II 5.0.1 available for download

2005-10-06 Thread Christopher Brooks
Ptolemy II 5.0.1 is available for download from http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII5.0/ Ptolemy II 5.0.1 is a bug fix release, there are no new features. Changes between 5.0 and 5.0.1 * Fixed problem with selecting different user styles for parameters. * shutdown.bat script removed

Re: Tcl

2005-10-07 Thread Christopher Brooks
Ptolemy II uses Jacl, which is a 100% Java implementation of a subset of Tcl. $PTII/doc/coding/testing.htm covers how to write and run a test. Basically, try cd $PTII/ptolemy/actor/lib make The syntax is covered in $PTII/doc/coding/tcljava.htm. _Christopher

Re: run test under windowsXP - Random Gaussian Actor

2005-10-07 Thread Christopher Brooks
Hi Vittore, Yep, to run the tests under Windows you need to have make and other commands installed. You can install Cygwin from http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII5.0/cygwin.htm I'm not sure about the problem with Gaussian. Why don't we take this discussion off the mailing list and

Re: Native Code fro Windows : Ptolemy II

2005-10-25 Thread Christopher Brooks
Sebastien Fayot writes: Hi Christopher, I continue working on Ptolemy II. I would like to increase the loading of Ptolemy II. Does a native code version of Ptolemy II exist for Windows ? I believe the vergil executable is only the sum of the ptolemy classes with the jvm,

Vergil and HyVisual start up problems

2005-10-27 Thread Christopher Brooks
It turns out that starting up Vergil or HyVisual will fail if optional actors like Matlab or the Quicktime libraries are not found. The problem is caused when we create a blank Graph Editor with a director that is specified in the configuration file. Directors now have a SharedParameter and

Re: mechanical system simulation

2005-12-01 Thread Christopher Brooks
I don't know much about electromechanical systems, but here are some thoughts. You might find the SigmaDelta example in $PTII/ptolemy/domains/ct/demo/SigmaDelta/SigmaDelta.xml to be of interest.

Re: writing an application upon ptolemy

2005-12-08 Thread Christopher Brooks
Hi Reiner, You can create models using Vergil, Tcl or Java. When you create a model using Vergil, the model is stored in MoML, which is XML. You can also write XML by hand. There are different ways to invoke Ptolemy, including not using Vergil, see

Re: Memory leak.

2005-12-21 Thread Christopher Brooks
Hi Kevin, Yep, this looks like a leak of some sort. In MoMLParser, _parser is declared as: private XmlParser _parser = new XmlParser(); I'm not sure if setting _parser to null in 1326 of MoMLParser.parse(URL, Reader) is safe or not. What happens the next time this method is called with the

Re: Memory leak.

2005-12-22 Thread Christopher Brooks
;. ptolemy.moml.test.MoMLParserLeak /pre and then look in java.hprof.txt. @author Christopher Brooks @version $Id: MoMLParserLeak.java,v 1.1 2005/12/22 19:40:33 cxh Exp $ @since Ptolemy II 5.2 @Pt.ProposedRating Red (cxh) @Pt.AcceptedRating Red (cxh) */ public class MoMLParserLeak { public static void main(String

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

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: How to effectively distribute different number of tokens to different branches?

2006-01-20 Thread Christopher Brooks
Jimmy [EMAIL PROTECTED] writes: Hi all, I'm a new user of Ptolemy and I encounter a problem during using the switch actor. I was trying to distribute a token stream to differnt branches, but there is always blank lines added to each branch.These blank lines can not be get rid of by Chops,

Re: Storing XYPlotter graph as video

2006-01-31 Thread Christopher Brooks
Hi Nandita, Ptplot can export Encapsulated Postscript (EPS) files, see the PlotBox.export() method. We have contributed code for exporting to png, but did not fold it in because it is probably GPL'd and want to keep Ptplot clean of GPL. The code can be found at

Re: [kepler-dev] [Fwd: Re: kepler/src/util URLToLocalFile.java]

2006-02-02 Thread Christopher Brooks
Ok, this is fixed. I created a test that creates a URL by calling new URL(http, null, /foo); and then pass the string to ptolemy.util.FileUtilities.nameToURL() and I was getting http:/foo back. I modified the code so I now get http://foo back. The test is: test FileUtilities-8.7 {nameToURL:

Re: Information about Workspace

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

Re: OSX Installation

2006-02-23 Thread Christopher Brooks
Thanks for the feedback. The installer we use is from ZeroG, who have been bought by Macrovision. I was trying the MacOSX installer as a very rough prototype. I don't have good access to a MacOSX machine, so testing this installer has been difficult at best. For the next release, we are

Re: Information about CSP'demos

2006-02-23 Thread Christopher Brooks
Hi Adriana, There are two CSP demos that are implemented as Java classes, not MoML .xml files. These demos are in $PTII/ptolemy/domains/csp/demo. You might need to install the full sources to find them. The demos are also available as applets, see

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: 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: Unconnected Actors?

2006-04-26 Thread Christopher Brooks
Hi Jose, You wrote: When I cannot get my graphs to executed, I used the allowDisconnectedGraphs options to allow my models to run. My problem then becomes the system doesn't execute in the order I think it should. In the SampleParam.xml model, if I select the allowDisconnectedGraphs in the

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: 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: Berkeley Madonna and System Dynamics

2006-05-04 Thread Christopher Brooks
: http://www.vensim.com/ I also use STELLA from iseesystems.com Powersim A well done introduction to SD: http://www.systemdynamics.org/DL-IntroSysDyn/ Lou - Original Message - From: Christopher Brooks [EMAIL PROTECTED

Re: Attribute updates not appearing in MoML document

2006-05-04 Thread Christopher Brooks
Hi Andrew, Perhaps the remote service buffer needs to be a parameter? You can hide parameters from the user by setting it as an Expert parameter. See $PTII/ptolemy/actor/lib/gui/SketchedSource.java: initialTrace.setVisibility(Settable.EXPERT); You could also try having your remote service

Re: Error persists across model reload: Cannot find port with the name: x

2006-05-05 Thread Christopher Brooks
Hi Chuck, This looks like a bug to me in both ptII5.0.1 and the current devel tree. If I open ptII/ptolemy/domains/de/demo/ModalModel/ModalModel.xml Look inside the ModelModel Double click on the upper relation (relation2) Change outputActions to output=bar Run the model, get a message:

Ptolemy Bugzilla site

2006-05-08 Thread Christopher Brooks
Chuck writes: Question: I haven't found anything on the website about bug tracking etc. If you have some formal way for outside users to submit these along with PtII version number and other such supporting metadata, I'd be glad to send example models etc. that reproduce things

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: [kepler-dev] parsing long values into Expression actor broken?

2006-05-10 Thread Christopher Brooks
Hi Tristan, Your model looks something like Const: 100L Expression: ... + time + ... Display Where the input port to the Expression actor is a port named time The output is ...0.0... In this case time is a parameter of type double, not a port. If you change the name to something

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: Information about Maximum and Minimum actors

2006-05-18 Thread Christopher Brooks
Hi Adriana, Thanks for the bug report. I updated Minimum and Maximum so that when they receive Complex inputs, they store the input and use the absolute value of the input for comparison purposes. The stored input is then used for output later. public void fire() throws

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: 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

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: [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

Re: Information about Sleep actor

2006-06-04 Thread Christopher Brooks
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 as continuous and SR. I went ahead and modified Sleep so that it has a:

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: Java path messed up

2006-06-05 Thread Christopher Brooks
Hi Vincent, Let's take this offline, it looks like a lot of back and forth email. I'll post a summary. _Christopher Dear PtolemyII expert, I notice the PtolemyII 4.0 is the lastest version to support JNI actor. so I rebuild the PtolemyII 4.0 by following the instruction

Ptolemy II JNI Cygwin Fix

2006-06-12 Thread Christopher Brooks
Hi Vincent, I went ahead and made a number of fixes to the JNI facility and it now works much better under Windows with Cygwin. 1) Set up a launcher, which solves the JNI/Cygwinw problem Details are below. 2) Fixed the configuration so that now instead of there being a separate JNI menu

Re: Adding Instances of customized CompositeActor to User Library

2006-06-19 Thread Christopher Brooks
Hi Hans, I think I fixed the problem I was having in the development tree when trying to add CompositeActors that contain actor classes to the library. If you have a chance, please try the devel version of Ptolemy II, see http://chess.eecs.berkeley.edu/ptexternal for details. _Christopher

Re: Nesting PN within PN

2006-06-22 Thread Christopher Brooks
a different problem. The exception looks like it is the result of the opaque composite actor still running while the top workflow is trying to stop. Nick On Thu, 2006-06-22 at 13:41, Christopher Brooks wrote: Hi Nick, I can replicate this in the current devel

Re: Information about default value of PortParameter

2006-06-26 Thread Christopher Brooks
Hi Adriana, The problem here is that setting values to the no value usually means that the default value is to be used when the model is read back in. There are several types of similar values: - The empty string, usually denoted by - Nil tokens, aka missing, null or empty tokens. These tokens

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: 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: 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: 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: Information about names of parameters, ports, actors and relations

2006-07-17 Thread Christopher Brooks
Hi Adriana, I'm going back over old email and saw this. You are talking about two different naming conventions: 1) Parameters, ports, actors and relations can be named with almost every character except dot. This is a restriction from NamedObj.setName(). 2) Expressions have further restrictions.

Re: [kepler-dev] Nondeterministic merge in PN domain

2006-07-20 Thread Christopher Brooks
the next couple of weeks. Maybe we can discuss this further. -ilkay On Jul 14, 2006, at 4:27 PM, Christopher Brooks wrote: Hi Ilkay, Just yesterday, Antoon Goderis, Edward and I were looking over the Promoter Identification Workflow (PIW

Re: Parameter renaming and value changing

2006-07-27 Thread Christopher Brooks
Hi Norbert, I've seen that bug as well, I'll take a look and either fix it or add a bug report. _Christopher Hi, I have hit the following annoying bug in ptolemy several times. There is a workflow, which has a Parameter, which is used somewhere among the

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: [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

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: 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

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: 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

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: 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

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: Moml package dependency over the GUI

2006-09-19 Thread Christopher Brooks
Hi JS, Edward checked in this fix as a quick workaround to a performance problem we were seeing with large models that used SharedParameter. I refined his fix by creating actor.ApplicationConfigurer, modifying actor.gui.Configuration to implement ApplicationConfigurer and then modifying

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: suggestion: visually commenting out parts of a design

2006-09-21 Thread Christopher Brooks
the C preprocessor #ifdef capability. _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

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: 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: 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: 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: 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

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

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

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,

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: 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,

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,

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

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 Miniconference Program

2006-11-10 Thread Christopher Brooks
Language: Synthesizing Models to FPGA Jorn Janneck, Xilinx Research Labs 4:40 - 5:00 Cyber-Physical Systems: A Vision of the Future Edward A. Lee, UC Berkeley 5:00 - 6:30 Reception Wozniak Lounge _Christopher Christopher Brooks (cxh at eecs berkeley edu

Re: Memory problem while firing BooleanSelect actor

2006-11-13 Thread Christopher Brooks
Hi JS, Interesting idea. I'm not sure about the answer. This sounds a little bit like Boolean Dataflow (BDF) from Ptolemy Classic. The Ptolemy Classic docs say: Boolean dataflow was developed by Joe Buck as part of his Ph.D. thesis research [Buc93c]. Like DDF, it supports run-time flow of

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: 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: 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: Vergil app problem

2006-12-01 Thread Christopher Brooks
I'm not sure what would cause that stack trace. The inner most exception: Caused by: java.lang.NullPointerException at ptolemy.domains.ct.kernel.ODESolver._makeSolverOf(ODESolver.java:246) does not match the beta source code, line 246 is not in _makeSolverOf(). 1. What platform are

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

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

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

Re: Need Info For MAC layer simulation

2007-01-09 Thread Christopher Brooks
Hi Saeed, There appears to be some sort of a MAC model in the CVS version of Ptolemy II at $PTII/ptolemy/domains/wireless/demo/MACProtocolModel It is basically dead code, I have no idea if it works, but it might be a good starting point. To get access to the CVS Version, see

[no subject]

2007-01-10 Thread Christopher Brooks
Hi Chico, I think that Viptos, the Ptolemy/TinyOS interface created by Elaine Cheong, uses sockets to communicate with the TinyOS TOSSIM simulator. This code was rather difficult to create, in part because I think it uses JNI. The code can be found in $PTII/ptolemy/domains/ptinyos/, try

Re: Viptos, how to add my own nesC module?

2007-01-10 Thread Christopher Brooks
Hi Zhen, Elaine Cheong, the author of Viptos, would know the answer to exactly how to write your own nesC component and have it included. She's on vacation until next week. There is some new documentation that will be made available in the next release of Viptos. You can get access to that

Ptolemy Tutorial and Miniconference, 2/12-13

2007-01-11 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

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

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

  1   2   >