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

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,

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

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

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

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]

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

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

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:

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,

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

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

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

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

Re: Random numbers

2004-03-19 Thread Christopher Hylands Brooks
of the expression may be used repeatedly without re-evaluating the expression. Thus, for example, if the ivalue/i parameter of the iConst/i actor is set to random()/font, then its output will be a random constant, i.e., it will not change on each firing. The output will change, however, on successive runs

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).

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

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

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

2003-12-03 Thread Kiran SB
Dec 2003 15:23:31 -0800 To: Kiran SB [EMAIL PROTECTED] Subject: Re: Need to delay execution by 1 clk... 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

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

2003-12-03 Thread Edward A Lee
clock and then give it out to the next stage of execution. - kiran - Original Message - From: Edward A Lee [EMAIL PROTECTED] Date: Tue, 02 Dec 2003 15:23:31 -0800 To: Kiran SB [EMAIL PROTECTED] Subject: Re: Need to delay execution by 1 clk... Will the TimedDelay actor do what you need

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).

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

Re: removing and readding actors to a model

2003-11-24 Thread Matt Jones
-0800, Chad Berkley wrote: 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

Re: removing and readding actors to a model

2003-11-24 Thread Stephen Andrew Neuendorffer
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 the container.if it's there, remove

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

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

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

Re: extending the type system

2003-10-14 Thread Edward A Lee
a new subclass of PN or SDF, where, for example, if I send through a port an instance of NullToken, then at the far end, hasToken() returns false. Having hasToken() return false will make it much easier to re-use existing actors at the receiving end. You will still need new actors to send

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

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

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

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

Re: problems rebuilding Ptolemy classic from scratch

2003-09-12 Thread Christopher Hylands Brooks
elsewhere. If pigiRpc is not present, then you probably have a compilation problem. Try cd $PTOLEMY make make.out and then look in make.out for lines that contain three *** -Christopher Hi again. Thanks all for your answers to my last question. i'm trying ti re build

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

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

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

Re: dynamically reloading the treeview in vergil

2003-08-14 Thread Edward A Lee
Are you referring to the actor library when you say tree view? The actor library is a Ptolemy model like any other (see the ptolemy.actor.gui package ... An instance Configuration, which is a CompositeEntity, contains the library). If you add the actors to the model (as opposed to just adding

Re: Compiling custom source in ptolemy and SVG issues....

2003-06-13 Thread Stephen Andrew Neuendorffer
At 02:18 AM 6/13/2003 -0700, Hitanshu Gandhi wrote: Hi, In my Ptolemy simulation, I have several classes,refered in a XML file. On finding an error in a class, I recompile it. But Ptolemy refuses to notice the updated file. if I close my simulation window, and tell vergil to reopen my xml file,

Re: Message error [cannot invoke prefire non-opaque actor]

2003-06-05 Thread Christopher Hylands
In comp.soft-sys.ptolemy, [EMAIL PROTECTED] (thomas) writes: i have a problem with my modal model when i run the window i have this message : cannot invoke prefire non-opaque actor ? i somebody have the solution please answer me thank you This message comes

Re: StructureToken version of RecordToken?

2003-04-04 Thread Jim Kleckner
Re-phrasing this question: Is there any reason not to map the publicly visible (i.e. settable and gettable) fields of a Java object into the fields of a RecordToken? On the face of it, it would be a good fusion of the two evaluation disciplines. Comments? Jim Jim Kleckner wrote: Beg pardon

Re: ptplot questions: color change and interactive selection

2003-04-03 Thread Christopher Hylands
In comp.soft-sys.ptolemy, [EMAIL PROTECTED] (Gabriel Chime) writes: Hi, I'm trying to decide what plotting package to use for a brand new project, and ptplot is one of the top candidates. I have two questions: 1) Can I change the color of a subset of plotted points on the fly? Basically,

Re: Ptplot question

2003-03-26 Thread Christopher Hylands
The ptolemy-hackers mailing list is gatewayed to comp.soft-sys.ptolemy, so yes, you are using the right news group. http://ptolemy.eecs.berkeley.edu/java/ptplot/ has a link to http://ptolemy.eecs.berkeley.edu/java/ptplot/ptolemy-plot-servlet.tar.gz which is a gzipped tar file that contains

Re: Passing non-expression strings to an Actor

2003-03-19 Thread Jim Kleckner
Thanks for the quick response. I presume then that to set this attribute would require directly editing the xml file since Vergil would not expose the StringAttribute as a visible (and therefore configurable) attribute. Is that true? Thanks - Jim Stephen Andrew Neuendorffer wrote: Assuming you

Re: Passing non-expression strings to an Actor

2003-03-19 Thread Stephen Andrew Neuendorffer
Assuming you are writing your own actor, the easiest way to deal with this is to use a StringAttribute instead of a Parameter. This issue comes up in other contexts as well... for example, if you have a string with octal codes in it, the expression parser properly substitutes them into the

Re: Passing non-expression strings to an Actor

2003-03-19 Thread Jim Kleckner
Again, thanks for the quick response. I switched over to the StringAttribute from Parameter. I still seem to get embedded newlines stripped. \n escape remains \n in the resulting string. Editing the xml to test results in the elimination of the embedded newline: property

HyVisual startup problem [was Re: HyVisual 2.2-beta available for download ]

2003-03-13 Thread Christopher Hylands
I'd heard of this bug, but until now had never been able to reproduce it. Steve Neuendorffer noticed a similar problem, he wrote: I just noticed that the shortcut to the original version of hyvisual failed to start beta-3. I got an error like -hyvisual failed to find configuration... It

Re: Which domain to use when simulating A/D and DSP behaviour?

2003-03-13 Thread Christopher Hylands
Jie Liu responded, but his email bounced because he sent it from an address that is not on the ptolemy-hackers mailing list. Jie's response was: It really depends on at what level of detail you want to model your system. My guess is that you can use CT and TM. There are a couple of existing

Re: Token as an abstract base class?

2003-03-13 Thread Stephen Andrew Neuendorffer
Originally, token was intended to be used as a token to represent a pure event i.e. one without a value. At the same time it was a base class for all the other token classes. We have since made an EventToken class to represent pure events. It remains public for some level of backward

Re: about ptolemy0.7.1 install for redhat8.0-linux-i386

2003-03-11 Thread Christopher Hylands
Wolfgang Reimer posted a response, which bounced because the address he posted from is not a member of the mailing list. Wolfgang wrote: RedHat Linux 8.0 comes with gcc 3.2 which requires some more changes (patches) than required for RedHat Linux 7.x (which comes with gcc 2.96 or 3.0.x,

Re: Using Listen to actor for debugging.

2003-03-07 Thread Edward A Lee
At 08:22 PM 2/21/2003 -0800, Edward A Lee wrote: At 12:22 PM 2/21/2003 -0800, Jim Kleckner wrote: Could someone explain how Listen to actor should be used for debugging? I would expect it to trace the events into and out of a composite entity but it brings up an empty window for me and it stays

Re: How to call the function RunTableau with my own model saved as .xml file ???

2003-03-04 Thread Christopher Hylands
In comp.soft-sys.ptolemy, Bill Ng writes: In my acadamic project, we need to write a new GUI on top of vergil and to run the model made by vergil. That is a fairly big project! If I have a model xml file ( c:/cygwin/ptII/ptolemy/vergil/project/model.xml), how can I use RunTableau to run

Re: Mixed signal simulation doubts

2003-02-26 Thread Edward A Lee
(I'm not sure whether this got through the first time, so I'm resending) At 05:34 PM 2/25/2003 +0100, Jaime Aguilera wrote: Hi, Is it possible to make a mixed signal simulation, in this case a CT analog circuit embeeded in a DE domain, but instead of using the ODE solver provided in Ptolemy use

Re: Mixed signal simulation doubts

2003-02-25 Thread Edward A Lee
At 05:34 PM 2/25/2003 +0100, Jaime Aguilera wrote: Hi, Is it possible to make a mixed signal simulation, in this case a CT analog circuit embeeded in a DE domain, but instead of using the ODE solver provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link? Does anybody done

Re: Mixed signal simulation doubts

2003-02-25 Thread David Bengtson
Agilent has, with ADS, if you have a couple of hundred grand to spare. I've tried to run co-simulation on ADS V2001, and wasn't impressed. That was several revisions ago, and it may have gotten better since then. You would need the largest, fastest computer that you can find, though. Dave On

RE: Mixed signal simulation doubts

2003-02-25 Thread Fulvio Spagna
. Fulvio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Bengtson Sent: Tuesday, February 25, 2003 3:55 PM To: Christopher Hylands Cc: Jaime Aguilera; [EMAIL PROTECTED] Subject: Re: Mixed signal simulation doubts Agilent has, with ADS, if you have

Re: about renaming again

2003-02-24 Thread w azure
I appreciate your help.But perhaps there is a misunderstanding about my problem.My meaning is: when i add some ports to the composite actor,such as input ports by using the new input port' command,there is no changing of the port names by right clicking on the ports, selecting the

Re: about renaming again

2003-02-23 Thread Edward A Lee
At 06:51 AM 2/23/2003 +, w azure wrote: hi,everyone I have downloaded the Ptolemy for win2000 in 15,Feb.There still is a problem when i rename port's name!when i input a newname and commit this process,but there is no changing.The port's name is still original name,such as port1,port5.

Re: [Ptolemy] Re: Serving Multiple tokens

2003-02-23 Thread Stephen Andrew Neuendorffer
You're right... You need a queue to keep the incoming requests and an 'arbiter' to dispatch requests when servers become idle. I imagine it would be fairly easy to build an arbiter using an FSM model. When a server finishes processing, it sends an event to the arbiter saying it is available.

Re: about renaming again

2003-02-23 Thread Jim Kleckner
For composite actors, there is a patch described here: http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/limitations.htm#RenamingPorts When I applied it, composite port renaming began to work for me. Cheers - Jim Edward A Lee wrote: At 06:51 AM 2/23/2003 +, w azure wrote: hi,everyone

Re: Using Listen to actor for debugging.

2003-02-21 Thread Christopher Hylands
The quick answer is that if an atomic actor has code like: if (_debugging) { _debug(getFullName() + consuming trigger Token + _thisTrigger); } then when you listen to the actor, you will see the messages. The slightly longer answer

Re: Using Listen to actor for debugging.

2003-02-21 Thread Jim Kleckner
Christopher Hylands wrote: If you select 'Listen to actor' on a composite actor, then you will see events from the Director. Compare and contrast this with going inside the composite actor and selecting Debug - Listen to director. Yes, Director events such as changes to the topology show up,

Re: Using Listen to actor for debugging.

2003-02-21 Thread Edward A Lee
At 12:22 PM 2/21/2003 -0800, Jim Kleckner wrote: Could someone explain how Listen to actor should be used for debugging? I would expect it to trace the events into and out of a composite entity but it brings up an empty window for me and it stays that way. Actors can optionally issue debug

Re: Computing the value of variables and parameters [PortParameter]

2003-02-14 Thread Jim Kleckner
It appears that the answer to this question is yes in the next release. Section 5.2.2 of this document: http://ptolemy.eecs.berkeley.edu/ptolemyII/hyvisual2.2/index.htm introduces the concept of PortParameter which would allow a parameter to be driven as an input to a model. Jim Jim Kleckner

Re: Contour plotting?

2003-02-14 Thread Stephen Andrew Neuendorffer
It is probably easiest to rely on matlab for more complex plots: contour plots, surface plots, charts, etc... Fortunately, it is relatively easy to get data into matlab using the matlab interface in ptolemy... At various times we've pondered improving this situation, but it can be quite a bit

Re: Contour plotting?

2003-02-14 Thread Christopher Hylands
I'm assuming by a contour plot you mean the classic weathermap where areas of like temperatures all have the same color. Ptplot does not support contour plots. In principle it could be extended, to support contour plots, but it would take quite a bit of effort. The Matlab demo in Ptolemy II

Re: Contour plotting?

2003-02-14 Thread Jim Kleckner
Christopher Hylands wrote: I'm assuming by a contour plot you mean the classic weathermap where areas of like temperatures all have the same color. Yes. Or even just wire frame countour lines on a 3d scene. Ptplot does not support contour plots. In principle it could be extended, to

Re: Control of contained directors and complete simulations

2003-02-14 Thread Stephen Andrew Neuendorffer
As you mention, time in Ptolemy models is in some sense a global variable.. Timed domains are (by default) built so that at all levels of the model follow some basic consistency rules. However, this it not, strictly necessary. Some domains, such as CT 'fudge' time slightly by being very

Re: Contour plotting?

2003-02-14 Thread Christopher Hylands
I'm not sure about using Java 3D for a contour plot. It would likely work, but I'm no Java 3D expert. It would be very cool though. Another solution would be to modify ptplot so that a dataset represented the border of a range to be plotted and then color the areas appropriately. This sounds

Re: Control of contained directors and complete simulations

2003-02-14 Thread Edward A Lee
I've been wanting to do something like this for some time... The way that I would do it would be to create a subclass of TypedCompositeActor which, when fired, executes the contained model much the way the top-level Manager currently executes a model. What I'm not quite so clear on is how to get

Re: Control of contained directors and complete simulations

2003-02-14 Thread Jim Kleckner
The way that I would do it would be to create a subclass of TypedCompositeActor which, when fired, executes the contained model much the way the top-level Manager currently executes a model. This sounds reasonably straightforward. I was just talking to Steve Neuendorffer about

Re: Java3D 1.3 doesn't work with PtolemyII2.0.1

2003-02-13 Thread Jim Kleckner
Wow, impressive! Thanks - Jim Christopher Hylands wrote: Jim Kleckner [EMAIL PROTECTED] writes: [snip] I created a patched version of ViewScreen.java and also a new version of experimentalDomains.jar for the Windows Installer that include this fix. See the limitations page of

Re: Java3D 1.3 doesn't work with PtolemyII2.0.1

2003-02-12 Thread Christopher Hylands
Jim Kleckner [EMAIL PROTECTED] writes: My next experiment was to get Java3D working. I am using Java SDK 1_4_1_01 but found that the most recent versino of Java3D 1_3 would silently not work. Downgrading to Java3D 1_2_1_04 (DirectX) subsequently worked. Thanks for the feedback. There is a

  1   2   3   4   >