[kepler-dev] Can I use Ptolemy actors in Kepler?

Norbert Podhorszki pnorbert at cs.ucdavis.edu
Wed Jun 20 09:12:00 PDT 2007


Hi Tony,

If you find a Ptolemy actor useful, just remember its class name (e.g. 
ptolemy.actor.lib.Ramp). In Kepler, "Tools/Instantiate Component" menu 
allows you to type in the class name, which will put an actor instance on 
your canvas just as dragging one from the actor tree.

The ptolemy jar is stored in the kepler.jar, so you have access to any 
Ptolemy actors and directors.

If you want to use a director not in Kepler tree, you have to use the
"Tools/Instantiate Attribute" menu. I use it to get a DDF director 
frequently (class ptolemy.domains.ddf.kernel.DDFDirector).

I suppose, you can create a kar file for any ptolemy actor just as for 
kepler actors, if you want to add some of them into the Kepler actor tree.

Best regards
Norbert

On Wed, 20 Jun 2007, Tony O'Hagan wrote:

> Hi,
>
> I've had a few attempts to build a more complex workflow involving
> processing sequences of arrays and found some needed actors not available in
> Kepler but present in the Ptolemy actor libraries.
>
> So ... I'd like to use many of the Ptolemy actors in Kepler.
> Is this possible?  Are there are any known risks combining them?
>
> What steps do I need to follow to import or compile them?
>
> Are there any plans to support the Ptolemy actors preloaded inside Kepler?
>
> Thanks,
> Tony.
>
> I tried to catch people on IRC again today but got no response.
> I have a list of several more questions which I can probably sort out
> quicker via an interactive discussion.
>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>


      Norbert Podhorszki
    ------------------------------------
      University of California, Davis
      Department of Computer Science
      1 Shields Ave, 2236 Kemper Hall
      Davis, CA 95616
      (530) 752-5076
      pnorbert at cs.ucdavis.edu
      ----------------------------------


More information about the Kepler-dev mailing list