Hi,

I'm pretty new to Ptolemy and I'm just getting my feet wet with the structure 
of the application. I have a few questions.

I will be integrating a tool with Ptolemy that will basically be providing 
another view on the Ptolemy models. I would like to have changes made in my 
view reflect on Ptolemy models in real time, while being able to switch between 
my view and the Ptolemy view. So far I have determined that this would require 
invoking some application-like instance of Ptolemy, getting access to the 
Director and then its respective Actors. I'm stuck on the first step, invoking 
an application-like instance of Ptolemy and I'm trying to do this for now using 
the provided demos.

Does anyone have any experience doing this? Anyone very familiar with the 
loading mechanism that might be able to give me some pointers? So far I've 
stepped through Vergil a bit and determined that the Configuration class is 
responsible for instantiating the MoMLParser that in turn brings up the models, 
but it's not clear how to get that started without invoking all of Vergil. 

My attempts to use ptolemy.actor.gui.CompositeActorApplication,  
PtExecuteApplication, MoMLApplication and PtolemyApplication have not worked 
with the -class command line argument, specifying the package location of the 
composite actor xml files. For example:

PtolemyApplication -class ptolemy.domains.ci.demo.Router.Router

where from the working directory, /ptolemy/domains/ci/demo/Router/Router.xml 
exists, the execution does nothing.

I'd appreciate any help and guidance.

Thanks,

Giridhar "Giri" Sreenivas
Software Engineer - Modeling, Simulation and Information Sciences
Advanced Technology Center
Lockheed Martin - Space Systems Company
B/153 2K4
Phone: (408) 742-5914
[EMAIL PROTECTED]


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to