Re: bug in SDFScheduler?

2007-12-12 Thread Chad Berkley
Hey Stephen, Here's the error. I'm not sure why it's complaining about the consumption rate. What is happening is there is a input port connected to a repeat actor. the number of iterations of the repeat actor is set by a portparam. The portparam is set statically by a higher level

Re: actor configuration pane customization

2007-10-10 Thread Chad Berkley
Thanks Edward, that totally worked. chad Edward A. Lee wrote: I think you want to extend EditorFactory rather than EditorPaneFactory. Edward At 01:47 PM 10/9/2007, you wrote: Hi, I've recently customized the configuration pane on one of my actors by extending EditorPaneFactory. The

actor configuration pane customization

2007-10-09 Thread Chad Berkley
Hi, I've recently customized the configuration pane on one of my actors by extending EditorPaneFactory. The problem I'm having is that the default buttons in the configuration dialog still appear, although they now make no sense in my dialog. Is there a way to keep all or some of them from

Re: Looking for a 802.11 or 802.15.4 actor

2007-10-09 Thread Christopher Brooks
Hi Manuel There is a start on some 802.11 actors in ptII/ptolemy/domains/wireless/lib/network This directory is not shipped as part of the Ptolemy releases, but is available via CVS. To get access via read only cvs, see http://chess.eecs.berkeley.edu/ptexternal I have no idea if this code works

Re: Data Type Mapping

2007-08-06 Thread Nathan Potter
Edward et. al, Perhaps I should have prefaced my request with an explanation of what I am up too. I am working on the REAP project (Which I imagine you are already familiar with. The REAP's PIs include the lead PIs that initiated the Kepler project e.g., Ludäscher, Jones, Altintas,

ptII web site down?

2007-07-03 Thread Chad Berkley
Hey, I just noticed that the ptolemy.eecs.berkeley.edu web site seems to be down. Just thought I'd let someone know. chad Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list

Re: finding an effigy

2007-06-05 Thread Chad Berkley
Thanks, Edward! That worked. chad Edward A. Lee wrote: I think you probably need to create a DocEffigy and set it's container to be the container of the effigy for the model. Edward At 01:52 PM 6/5/2007, Chad Berkley wrote: Ok, I got a lot of wires redirected and finally got the

finding an effigy

2007-06-04 Thread Chad Berkley
Hi, I'm trying to make it possible to get the documentation for an actor from the actor library by right clicking on an actor. In the GetDocumentationAction class, it asks the Configuration for an Effigy for the object you are trying to open the documentation for. Since there is no effigy

Re: finding an effigy

2007-06-04 Thread Chad Berkley
Ok, that sounds good. Is there an easy method for getting the effigy of that workflow? When I do a Configuration.findEffigy(actor), it returns null. I'm not sure how to get a pointer to that open workflow from a random place in the code. thanks, chad Edward A. Lee wrote: I would suggest

possible bug in DocManager.java

2007-04-23 Thread Chad Berkley
Hi, I've recently run across a ClassNotFoundException when trying to view the documentation for Sinewave in Kepler. I've traced it to DocManager.java where, in the method docClassNameToURL, there is a call to Class.forName(). The problem is that Sinewave is a moml class, not a java class

Re: possible bug in DocManager.java

2007-04-23 Thread Christopher Brooks
Hi Chad, Getting the documentation for Sinewave works in the devel version of Ptolemy II built from CVS today. However, it was printing a stacktrace about Sinewave not being found, it looks like the See also was failing: java.lang.ClassNotFoundException: ptolemy.actor.lib.Sinewave at

ptolemy text attribute question

2005-08-22 Thread Chad Berkley
Hi, I've been trying to figure out how to define an Attribute that allows the use of CDATA within the body of the property element. For instance: property name=documentation class=org.kepler.moml.DocumentationAttribute This is some docs... /property I don't see any current Attributes

Re: [kepler-dev] ptolemy text attribute question

2005-08-22 Thread Edward A. Lee
There is ConfigurableAttribute. The plotter uses this for example to include foreign XML as a parameter value for the actor. To see it, put a SequentialPlotter actor in a model, change its formatting (by clicking on the format button in the plot), and look at the resulting XML. The fact that

Re: [Ptolemy] Re: Transparent CompositeActor firings?

2004-06-16 Thread Stephen Andrew Neuendorffer
At 02:25 PM 6/16/2004, Christopher Hylands Brooks wrote: The following appeared in comp.soft-sys.ptolemy. If you respond, please cc [EMAIL PROTECTED] -Christopher --- Forwarded Message From: Mark Hodson [EMAIL PROTECTED] Subject: Transparent CompositeActor firings? Date: Tue, 15 Jun 2004

Re: introduction distributed ptolemy

2004-06-14 Thread Christopher Hylands Brooks
There was a mail configuration problem with the ptolemy-hackers list, so I'm forwarding a couple of bounced messages. Rather than trying to merge them, I'm sending them in the order they were originally sent. -Christopher From: Ferdinando Villa [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]

Support for resource allocation in Ptolemy?

2004-06-08 Thread Steve Rowe
Hi, hackers. We are using Ptolemy to do sytem-integration level simulation and testing for "smart" vehicles. Our main areas of interest are monitoring bandwidth of network connections and CPU utilization (although we are also modeling a number of other things). Is there a built-in actor

Re: modal models

2004-06-07 Thread Edward A Lee
The refinement for states in a ModalModel is in the same XML file as the ModalModel. Currently, the only way to spread a model across multiple XML files is using MoML class definitions or the ModelReference actor. Edward At 04:46 PM 6/3/2004 -0500, Reilly, Timothy (MN17) wrote: Dear Hackers, I

Re: [Ptolemy] [Info] needed regarding execution under SDF model

2004-06-03 Thread Philippe.Dumont
Stephen Andrew Neuendorffer wrote: I'm a bit at a loss as to why it must execute N1 times? In seems to me like the N1 firings of HT1 and the N2 firings of HT2 could be hidden inside the actor, but without more information about where the desired number of firings is coming from, I couldn't

Re: [Ptolemy] [Info] needed regarding execution under SDF model

2004-06-03 Thread Stephen Andrew Neuendorffer
At 05:53 AM 6/3/2004, Philippe.Dumont wrote: Stephen Andrew Neuendorffer wrote: I'm a bit at a loss as to why it must execute N1 times? In seems to me like the N1 firings of HT1 and the N2 firings of HT2 could be hidden inside the actor, but without more information about where the desired

modal models

2004-06-03 Thread Reilly, Timothy (MN17)
Dear Hackers, I wanted to try a simple fsm model model. After you put down your states and you want to add a refinement where do you put the xml file for the refinement so that it gets found ? As an example in the example in quick start fsm example there are two states clean and noisy that you

RE: [kepler-dev] question on typing processes and higher-order fu nctions a la map

2004-06-02 Thread Willink, Ed
Hi Edward Edwasrd Willink wrote Surely double -- double is just wrong. It uses the COSSAP fudge to support Arrays in a non-Array tool via accidental sequences. Any type system that requires exaplanatory text, (use N successive samples) is not a type system. Edward Lee wrote The only difference

RE: [kepler-dev] question on typing processes and higher-order fu nctions a la map

2004-05-26 Thread Willink, Ed
Hi Edward, Bertram, Liying You have hit upon something that has bothered me for some time, and have expressed it better than I ever did... There are several examples of this tension in the Ptolemy II library. E.g., the FFT actor has type double -- double. Why isn't it [double] --

RE: [kepler-dev] question on typing processes and higher-order fu nctions a la map

2004-05-26 Thread Willink, Ed
Hi Edward Unfortunately, I'm not well-versed in 'dependent type system's so I cannot comment on that. I don't doubt that a set of contradictory type constriants can be set up, but that's a detectable error, that can be made in a simpler system too. I see type inference as a multi-axis lattice

Constraints with assignment to parameters

2004-05-21 Thread Marija Surnaite
Hello, we are three students from Aalborg University. We are using Ptolemy II for our study project. We encountered a few problems and would like to know if they are constraints of Ptolemy II or if we are just doing things in the wrong way. 1) In expression editor it is normal to assign a

Re: Constraints with assignment to parameters

2004-05-21 Thread Edward A Lee
The expression language itself is not a programming language. It does not have statements (sequencing of operations) nor does not support assignments... It supports just expressions. The result of evaluating an expression is an immutable (unchangable) token. If the result is an array, you cannot

Re: Ptolemy applets problems

2004-05-21 Thread Christopher Hylands Brooks
Efrat Jaeger [EMAIL PROTECTED] writes: - I created the following applet, http://users.sdsc.edu/~efrat/workflows/queryPGAP.htm, very similar to the demo applets. Apparently it loads on some computers but on others I get a java.lang.NoClassDefFoundError:

Ptolemy applets problems

2004-05-20 Thread Efrat Jaeger
Hi, I created the following applet, http://users.sdsc.edu/~efrat/workflows/queryPGAP.htm,verysimilar to the demo applets. Apparently it loads on some computers but on others I get a "java.lang.NoClassDefFoundError: ptolemy/actor/gui/MoMLApplet" error. On the same computers the existing

Ptolemy II 4.0-beta is available for download

2004-05-19 Thread Christopher Hylands Brooks
Ptolemy II 4.0-beta is available for download. Changed between 4.0-alpha and 4.0-beta: Feature enhancements * IterateOverArray usability features: Look inside now skips a level to show the model that actually gets iterated rather than the intermediate level. Also,

A customized ptolemy for bioinformatic

2004-05-13 Thread Franck Valentin
Hi all, perhaps someone could give me some advice or remarks on the application based on Ptolemy and Vergil I need to develop. 1 - This application will execute bioinformatics workflows designed from a graphical interface (a customized vergil). For a main part the actors are external

NullPointerException in 4.0alpha initialize

2004-05-13 Thread Zimdars, Andrew
[I previously posted this to the newsgroup, but it didn't make it to the mailing list ...] I'm trying to initialize and run a Ptolemy model generated by XSLT from an existing XML description of an experiment (not a MoML file). When I try to run the model, I get the error:

Re: NullPointerException in 4.0alpha initialize

2004-05-13 Thread Stephen Andrew Neuendorffer
Looks like receivers are not getting created for one of the actors, which shouldn't happen. It would be helpful to get the generated MoML file, along with any custom java actors you are using... Steve At 11:23 AM 5/13/2004, Zimdars, Andrew wrote: [I previously posted this to the newsgroup, but

Re: I am using ptolemy II to develop an optical network simulator.

2004-05-12 Thread Christopher Hylands Brooks
In comp.soft-sys.ptolemy, [EMAIL PROTECTED] (Kaizen) writes: This is for an academic project so the complexity of the simulator will not reach that of something commercial like Optiwave or VPI. VPI and Ptolemy Classic have a connection,

possible application

2004-05-11 Thread Reilly, Timothy (MN17)
Dear Hackers, I am new to Ptolemy. I am intrigued by Ptolemy particularly because if is freely available and I can use it both personally and at work. I would like to simulate a radar system with it. I am having a little trouble deciding which domain to use. What I am would like to do is set

Re: Compiling Ptolemy with Eclipse

2004-05-04 Thread Franck Valentin
Thanks for your help, I also tried the method described but I can not get the project compiled, here is what I tried : tar xfz ptII3.0.2.src.tar.gz mv ptII3.0.2 ptII export PTII=/home/franck/bin/my_PTII/ptII cd $PTII ./configure cd ~/bin/my_PTII eclipse File-New Project Project Name :

Re: Compiling Ptolemy with Eclipse

2004-05-04 Thread Christopher Hylands Brooks
Hmm, this sounds like an Eclipse bug tickled by Ptolemy adjusting setting up the ptII/.classpath file. I've seen stack traces inside eclipse 2.1.2. Rather than reinstalling, what I usually what I ended up doing was removing my eclipse/workspace directory and trying various things. You could try

Compiling Ptolemy with Eclipse

2004-05-03 Thread Franck Valentin
Good morning, I'm a software designer in the Pasteur Institute (Paris) and I'm involved with a workflow definition and conception for sequence analysis (mainly). Ptolemy II seems to correspond to the core functionalities I need and seems to be easy to customize (thanks to have made docs and UML

Re: Compiling Ptolemy with Eclipse

2004-05-03 Thread Bertram Ludaescher
Hi Franck: fyi: you may also be interested in the following Ptolemy II spin-off called Kepler that has been used for bioinformatics and other scientific workflows: http://kepler.ecoinformatics.org The first official Kepler release is planned for later this month, but the code is

Re: Compiling Ptolemy with Eclipse

2004-05-03 Thread Christopher Hylands Brooks
With Eclipse, usually it is necessary to run configure so that the .classpath file is properly set up. An alternative is to set up the project class path by hand. Locally, our Eclipse users run configure, so the by hand section of the doc could probably use some testing and updating. One issue

Re: ANNOUNCE: galsC 0.1.0 (alpha) release

2004-04-28 Thread Christopher Hylands Brooks
Elaine Cheong and Jie Liu announced availability of galsC 0.1.0 (alpha) -Christopher --- Forwarded Message Subject: [Ptolemy] ANNOUNCE: galsC 0.1.0 (alpha) release Date: Sun, 25 Apr 2004 16:18:30 -0700 (PDT) We are announcing the alpha release of galsC, a language and compiler for use

Re: Reading a file from Matlab

2004-04-27 Thread Christopher Hylands Brooks
In comp.soft-sys.ptolemy, [EMAIL PROTECTED] (Renooj Jacob) writes: I have a script file in matlab which solves a series of equations. I would like to access this matlab file from ptolemy and plot within ptolemy using the matlab expression. Is it possible? If not is there any other way. I'm

Re: FOR LOOP

2004-04-26 Thread Christopher Hylands Brooks
[EMAIL PROTECTED] (Renooj Jacob) writes: 1) How does one implement FOR LOOP in Ptolemy. There was a little bit of discussion about this in November. Searching google with: switch group:comp.soft-sys.ptolemy yields this post in comp.soft-sys.ptolemy Professor Lee wrote: The Switch

Speech processing

2004-04-14 Thread Do Trong Tu
Hello, I am studying speech processing. How do I get all frames of a wave file, each frame is N=256 samples. (It is for short-time analysis) Thank you for your help Tu T. Do Posted to the ptolemy-hackers mailing

XML fragments as StringTokens/XMLTokens

2004-04-14 Thread Zimdars, Andrew
I'm trying to construct a container that takes an XML fragment as a parameter value. I've tried two approaches to this, and both result in exceptions (possibly due to limitations in the Microstar XML parser, or laxity in my attempt to use XML). If I use public MyChannel extends

Re: XML fragments as StringTokens/XMLTokens

2004-04-14 Thread Stephen Andrew Neuendorffer
Andrew, The expression language does not have any bindings for xml tokens, unfortunately It probably should have at least a function that takes a StringToken and returns an XMLToken. There are several possible immediate solutions: 1) In vergil, use the expression modifiers/ (with the

RE: Using Ptolemy II embedded in my product

2004-04-01 Thread Michael Doorley
Hi Christopher How do I run the shallow code generator from the command line? Michael The shallow code generator will read in certain models and generate java files. (See http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/ptII/doc/codegen.htm ) Below I ran the shallow code

Re: memory problem

2004-03-31 Thread Christopher Hylands Brooks
This bounced because of configuration problem on the mail server, so I'm resending it. -Christopher --- Forwarded Message From: Stephen Andrew Neuendorffer [EMAIL PROTECTED] To: Nilgun Fescioglu Unver [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [Ptolemy] Re:

memory problem

2004-03-30 Thread Nilgun Fescioglu Unver
Hi, Sorry if you received this message for the second time.. I have a java.lang.OutOfMemory error problem with my model developed in Ptolemy II version 3.0.2. I am working on a model which uses an ArrayToken (of 180 tokens) and my actors change the value of the tokens in each iteration. As

Add an extra button to Ptolemy/Vergil

2004-03-29 Thread Martijn Bodewes
Hi, The short question is: How do I add a button to the toolbar in Ptolemy. I'm working on a add-on for ptolemy to do some specific actions. The goal is for users to click the to-be made button and then let the magic happen: validation of some values against a database. The huge amount of

Re: Add an extra button to Ptolemy/Vergil

2004-03-29 Thread Edward A Lee
At 10:48 AM 3/29/2004 +0200, Martijn Bodewes wrote: Hi, The short question is: How do I add a button to the toolbar in Ptolemy. I'm working on a add-on for ptolemy to do some specific actions. The goal is for users to click the to-be made button and then let the magic happen: validation of

Updating Actor in User Library

2004-03-25 Thread Keith Jacobs
I've saved a composite actor in my User Library and now I want to update it with some changes. When I try saving over the existing actor using Graph, Save in Library, I get the error message: Save in Library failed: An object already exists in the user library with name ... Also, I've tried to

Re: Random numbers

2004-03-19 Thread Christopher Hylands Brooks
Kostas Oikonomou [EMAIL PROTECTED] writes: I'm trying to see if I can use the DE domain of Ptolemy II to simulate a simple semi- Markov process. The main obstacle I've run into is that I can't see any way of generating random numbers from distributions other than the exponential and normal.

Port Width for LinearStateSpace Input

2004-03-09 Thread Keith Jacobs
Title: Port Width for LinearStateSpace Input I am building a simulation using a LinearStateSpace actor. I have configured this actor and used a Continuous Sinewave as a test input. When I run the simulation, I get the following Exception message: The number of columns of the B matrix (1)

Re: Using Ptolemy II embedded in my product

2004-03-04 Thread Christopher Hylands Brooks
Michael Doorley writes: Hi Christopher Thanks for adding me to the list. 1. Can I use Ptolemy II by calling methods in the API that would create a model, populate it, run a simulation and extract the results? As a bonus for the advanced user I would like to save the model as an

Re: Firing by events

2004-02-19 Thread Christopher Hylands Brooks
The single window tabbed interface by Jerome Blanc and Benoit Masson of Thales might be useful here. This interface is in the ptII developer tree in $PTII/thales. The single window interface has not yet been publically released. To start it up from, run vergil -single. The ptII/thales/README

Re: Firing by events

2004-02-18 Thread Edward A Lee
At 05:00 PM 2/18/2004 -0800, Efrat Jaeger wrote: A different question is about applets. When I create an applet out of a model that contains a composite entity, is it possible to look inside the composite entity from within the applet? (for presenting and running the workflow on a web page).

changing default 'configure' action

2004-02-17 Thread Chad Berkley
Hi, I'm trying to change the default action for double clicking (or choosing 'configure' from the right click menu) on an actor. It appears that in the class ConfigureAction, EditParametersDialog is hard coded to be the default editor for configuration. Is there anyway to circumvent this so

Re: VersionAttribute equals false problem

2004-01-29 Thread Edward A Lee
Interesting... Your fix looks right to me... And in fact this is a serious memory leak, so the fix is much appreciated. I believe that the reason _tupleList is null is that the instance of VersionAttribute is added to the workspace before setContainer() is called to set the container. Then when

Re: [Ptolemy] Re: how to set icon locations

2004-01-14 Thread Edward A Lee
From: [EMAIL PROTECTED] (Manish_Kushwaha) Subject: how to set icon locations Date: 14 Jan 2004 13:25:30 -0800 Hi there, I am using ptolemy II for my application. I have a small question. I want to place the entity icons at specified locations. I have a file having a list of what icon will go

Creating subfolders using one file

2003-12-19 Thread Ilkay Altintas
Hello, I'm working on an application where I need to create a folder composed of some number of actor subfolders. The subfolders are created dynamically, by executing a specific actor. (The actor wraps external operations as Ptolemy II actors and places them in folders in the hierarchy.) Since

Re: Need to delay execution by 1 clk...

2003-12-04 Thread Mohamed Salem
Hi Kiran and all, If this actor is constructed as one atomic-actor that models the eight stages of execution, I would suggest that you re-build it as a composite actor from eight diffent atmoic-actors (your own models and/or from library actors).Each atomic actor in this model would be

Re: Need to delay execution by 1 clk...

2003-12-03 Thread Kiran SB
Thanks for the response... TimedDelay just sends out a token after a specified delay (send (token, delay)). what I am looking at is to stop(delay) the execution by a clock and proceed. I could have used TimedDelay if I had to delay in a particular simulation. But I need to delay inside an actor

Re: Need to delay execution by 1 clk...

2003-12-03 Thread Edward A Lee
Hmm... Your problem statement is still ambiguous. If you want the delay to be a real-time delay, then you can set the synchronizeToRealTime parameter of the DEDirector. If what you need is the effect of a latch, then you want to combine the TimedDelay with the Previous actor (in the

Re: Need to delay execution by 1 clk...

2003-12-02 Thread Edward A Lee
Will the TimedDelay actor do what you need? Edward Lee At 04:06 PM 11/27/2003 +0500, Kiran SB wrote: Hi I am new to ptolemy (6 months). Currently I am using PTII 3.0.2 for building(simulating) custom actors in the DE domain, which are basically executional elements (of a reconfigurable device).

Need to delay execution by 1 clk...

2003-11-27 Thread Kiran SB
Hi I am new to ptolemy (6 months). Currently I am using PTII 3.0.2 for building(simulating) custom actors in the DE domain, which are basically executional elements (of a reconfigurable device). In one particular situation I have an actor with 8 stages of execution. During initialize I construct

Coupling HLA federate with Ptolemy II ?

2003-11-26 Thread BERGERO Didier
Hi, Which is the positioning of Ptolemy compared to HLA ? How coupling an HLA federate with Ptolemy II ? Best regards, Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to:

Ptolemy II : reuse legacy application, distributed actors

2003-11-25 Thread BERGERO Didier
Hi, I have 2 (newbie?) questions : * While waiting for e-ptolemy, with Ptolemy II and in the same simulation, how to use local actors and remote (distributed) actors ? : use of applets... * and how to reuse legacy application e.g. how to wrap C,FORTRAN,ADA!! code to be an Ptolemy II

Re: Ptolemy II : reuse legacy application, distributed actors

2003-11-25 Thread Christopher Hylands Brooks
BERGERO Didier [EMAIL PROTECTED] writes: I have 2 (newbie?) questions : * While waiting for e-ptolemy, with Ptolemy II and in the same simulation, how to use local actors and remote (distributed) actors ? : use of applets... I'm not sure what e-ptolemy is in this context. There are

Re: removing and readding actors to a model

2003-11-24 Thread Edward A Lee
Ah, this sounds like an extremely useful capability... Java has a hot-swap capability... This is used, for example, by Eclipse when you modify and recompile a piece of code while the debugger is running. So to some extent, you get this for free if you use Eclipse as the development environment.

Re: removing and readding actors to a model

2003-11-24 Thread Matt Jones
Chad, I think that you need to consider the classloader issues in order to be able to do this. The JVM loads a class using the default ClassLoader -- which I think caches the class so that it needn't load it again. So...even if you get it reinserted into the Ptolemy hierarchy, the JVM will

Re: removing and readding actors to a model

2003-11-24 Thread Stephen Andrew Neuendorffer
I think it makes more sense to use Java's classloader to do this (as Matt suggests) rather than hot-swap. With hot-swap, the classes are expected to be consistent with one another (as with a debugger, for instance) Since there is no way to ensure this, an exception will likely result. We've

Re: [Ptolemy] Re: Implementing high level queues

2003-11-22 Thread Edward A Lee
At 11:33 AM 11/21/2003 -0800, [EMAIL PROTECTED] wrote: I am currently looking for a way to implement a high level queue. By this I am looking to have a queue that exists in the top level model but can be accessed in a lower level model, e.g. in submodel A, tokens can enter a queue and in submodel

Re: removing and readding actors to a model

2003-11-22 Thread Edward A Lee
Shouldn't removing the actor also be done in a ChangeRequest? This seems like a very puzzling thing to do... What are you trying to accomplish? Edward At 10:34 AM 11/21/2003 -0800, Chad Berkley wrote: hi, I'm trying to remove and actor from the actorLibrary model, change it, then re-add it.

Re: Ptolemy modeling of complex distributed software systems

2003-11-21 Thread Edward A Lee
Very interesting... Did you look at DEThreadActor? It has some of what you do, but not all... In particular, it doesn't have the (nice) feature that the director waits for active actors to allow time to pass. This is similar to what we've done in timed CSP and timed PN... As for these specific

removing and readding actors to a model

2003-11-21 Thread Chad Berkley
hi, I'm trying to remove and actor from the actorLibrary model, change it, then re-add it. For some reason, when it re-adds, you don't see the changes that were made. Here's the code that I'm using: List l = actorLibrary.entityList(); for(int i=0; il.size(); i++) { //look for the actor in

Re: Adding a new type to BaseType

2003-11-05 Thread Stephen Andrew Neuendorffer
To speed up type comparisons, the TypeLattice keeps a cache of comparison information in a 2D array. The 2D array is preallocated in the TypeLattice class of size Type.HASH_MAX. You have to change that value when adding a new type. (or simply implement the getTypeHash method to return

Adding a new type to BaseType

2003-11-04 Thread Efrat Jaeger
Hi, I'm adding a new type to BaseType.java;a database connection type which would be passed between actors in a workflow to keep the DB Connection variable. I've changed the following files: TypeLattice - added nodeweight and edges (to general and unknown). Constants - added the new type

Re: extending the type system

2003-10-14 Thread Edward A Lee
Bertram: Absence of a value (something that I think a null for a double is intended to indicate) is a key property of a model of computation. I'm not sure that representing it in a data type is a good approach. In particular, a key property of process networks and dataflow is that absence is not

Re: Is there a way to speed up the redraw?

2003-10-13 Thread Christopher Hylands Brooks
In comp.soft-sys.ptolemy, luedeke [EMAIL PROTECTED] writes: I have the feeling that the redraw of a ptolemy.plot.Plot object is a bit slow, because doubled buffering or something else is not used, so the plot has to be recalulated each time a redraw is needed. Is there a way to speed up the

extending the type system

2003-10-13 Thread Chad Berkley
Hello, We have a question about the extensibility of the Ptolemy II type system. In our project, we need to extend the type system by adding new data types and modifying the type hierarchy. As an example, we need to incorporate a new double type (as a superclass of double) that accepts null, or

Plotting SVGs

2003-09-30 Thread Efrat Jaeger
Hi all, Is there a way to use PlotML files from withina Ptolemy model or perhaps it is possible to invoke PtPlot from the Vergil interface? I would like to plot SVG files similar to the way icons are created (but with a plot frame).I was able to find the code where the icons are being

Re: Cancelling an Event in the DE Domain

2003-09-28 Thread Edward A Lee
There are two ways to generate future events: - using a DEIOPort and its send(int, Token, double) method to create an event in the future. This event cannot be cancelled. - using fireAt() to request a refiring at a future time and then when that refiring occurs, sending the

Cancelling an Event in the DE Domain

2003-09-26 Thread clancaster
Hi, I'm interested in cancelling a particular discrete event that has already been scheduled. Can this be done? An example: I'm modeling a car moving on a highway in discrete steps from speed sign to speed sign. The car moves at the posted speed of the previous sign. At each speed sign the

Re: Point width on XYPlotter

2003-09-25 Thread Christopher Hylands Brooks
In the XYPlotter, click on the plot format button in the upper right (this is the second from the right button that has two red impulse lines) Then select Marks: dots Save your model When you run it again, it will have a dot for the single point. The way this works is that the MoML file gets

Re: icon editor

2003-09-24 Thread Edward A Lee
The icon editor is toast... I've started working on a scheme that will allow for both editing icons and decorating models with drawings, but I'm afraid that the time I get to write software is so little that it may be months before I finish this... :-( Edward At 01:37 PM 9/23/2003 -0700, Chad

Re: diva source code of newest version

2003-09-23 Thread Christopher Hylands Brooks
Tristan Crecelius [EMAIL PROTECTED] writes: where can I find the newest source code of the diva lib. Last version used from Ptolemy is dated 21.04.2003 (diva.jar 1.035.788 Bytes) I've created a snapshot of the Diva tree from April 22, 2003 and made it available on the Ptolemy II 3.0.2

icon editor

2003-09-23 Thread Chad Berkley
Hi, I read in the release notes of Ptolemy II 3.0.2 that the icon editor is not yet integrated, but I was was wondering if this also means that it does not work. I've tried to run ptolemy.vergil.icon.IconEditor and it throws a NullPointerException around line 239 of IconEditor. I followed

Re: icon editor

2003-09-23 Thread Stephen Andrew Neuendorffer
It sounds like you have a proof that it doesn't work! :) In all seriousness, the Icon Editor was written quite a while ago and was never really useful enough to be used, even when it did run. I think a better long term solution is to integrate one of the many SVG-creating graphics tools into

Re: icon editor

2003-09-23 Thread Bertram Ludaescher
Another alternative that I've seen (thanks Efrat!) was a little bit of SVG embedded right in the Java code. So one can at least create the SVG externally, then put it in somehow. Don't know if that helps. If it does, Efrat could send the code snippet. Bertram SAN == Stephen Andrew

Real life applications of Synchronous Data flow with cycles

2003-09-18 Thread Hiren
Hello, I am currently trying to understand the implementation of the SDF domain. I am wondering if someone can provide me with a list of real-life SDF examples that have cycles other than a simple source-sink cyclic relationship. It is not difficult to see applications where feedback-systems

problems rebuilding Ptolemy classic from scratch

2003-09-12 Thread rpintor
Hi again. Thanks all for your answers to my last question. i'm trying ti rebuild from scratch Ptolemy classic 0.7.1. I am with linux debian 3.0 (woody).I use bash, not cshell. I got the sources to 0.7.1,, the tar-gz archives with the global src and others. Then I untar the archives, in $PTOLEMY,

Re: problems rebuilding Ptolemy classic from scratch

2003-09-12 Thread Christopher Hylands Brooks
I have some notes for compiling Ptolemy II 0.7.2 devel under Linux at http://ptolemy.eecs.berkeley.edu/ptolemyclassic/pt0.7.2/linux.htm I'll see about adding a more prominent link to that page from the 0.7.1 page. xv not compiling is fairly common, you can run without it. xv is also available

Ptolemy II under debian woody

2003-09-10 Thread Raúl Pintor
Hi, I'm a student from Extremadura, Spain. I have tried to recompile everything to run Ptolemy II 3.0.2 in linux debian 3.0. I also got JDK 1.4.1, but I think I'm not well configured in the Java enviroment. I use linux since 3 months. Then, my question is: I would like to know what version of

[no subject]

2003-09-05 Thread Darine Abdelahad
Hi, I have a question: I want the user to be able to click on a point on the graph in order to obtain more information about it. To do so, I need the mouse click to return the coordinates of the point. So I tried to add to the Plot object an instance of a class that implements the

Re:

2003-09-05 Thread Christopher Hylands Brooks
Hmm, I thought I sent a reply to this earlier this week, see below From: Christopher Hylands Brooks [EMAIL PROTECTED] To: Darine Abdelahad [EMAIL PROTECTED] Subject: Re: Ptplot mouse code Cc: [EMAIL PROTECTED] Date: Wed, 03 Sep 2003 09:04:41 -0700 Take a look at the zoom code in

Re: first day with ptolemyII

2003-09-03 Thread Christopher Hylands Brooks
In comp.soft-sys.ptolemy, cfk [EMAIL PROTECTED] writes: Well, let me answer my own question and pose the next one. It appears the webstart is an interactive demo only. The Web Start version if fully functional with the exception of the Jython actor, which uses some strange caching

setActions in FSM models

2003-08-28 Thread Michail Chavkin (sgraja)
Hi, While in the setActions field of a transition in FSM models one can use ahierarchical destination (like state.parameter or even state.actor.parameter) it is impossible to use a hierarchical source. Sometimes it just causes an inconvinience of having a doubling parameter in the top model

Re: Thank you!

2003-08-20 Thread cxh
-- Virus Warning Message (on relay2) Found virus WORM_SOBIG.F in file document_9446.pif The uncleanable file document_9446.pif is moved to /etc/iscan/virus/virLCBFcba1J. - See the attached file for details

Re: help me on image filtering

2003-08-18 Thread Christopher Hylands Brooks
On 7/23, in comp.soft-sys.ptolemy, Paul.Shumacher wrote: Hi, I am new to Ptolemy so please forgive me if this question has been raised already. I am interested in doing various operations on 2-D images/frames. For example, using a 1-D FIR filter to smooth or find

Re: [Ptolemy] Re: The ID PI is undefined. in Ptolemy II 3.0-beta ...

2003-08-18 Thread Stephen Andrew Neuendorffer
Yes, this is a bug in the code generator that shipped with the beta. It is likely that the final release will include a fix that allows constants (like PI) to be dealt with correctly. Note that for other reasons, the Butterfly demo will not generate usable code. (Because the plotter uses parts

Re: dynamically reloading the treeview in vergil

2003-08-14 Thread Chad Berkley
Hi Edward, Ok, so I understand in general what you are saying but I'm not understanding the implementation details. I have created a new Tableau NewActorWizardTableau that extends Tableau. Whithin the construtor, I am able to call topEffigy() from the NewActorWizardTableau's container

  1   2   3   4   5   6   >