Hi Christopher,

Using Ptolemy II 7.0 beta indeed seems to resolve the issues encountered under Ptolemy II 6.0.2. I also get the unconnected relation in the upper left corner.

Thanks for your help!

Kind regards,

Kees Verhaar.

Op 20 mrt 2008, om 01:09 heeft Christopher Brooks het volgende geschreven:

Hi Kees,

I think this is fixed in Ptolemy II 7.0.beta.  Could you try
the new version at
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII7.0.

From the VersionAttribute of your model, it looks like you were using
Ptolemy II 6.0.2.

I think I'm able to replicate the bug under 6.0.2:

1. Open the model, run it.  One plot (a straight line) appears.
2. Close the plot window by clicking on the Windows X in the upper
right corner.
3. Change nBlocks to 3, run the model.  Three plots appear.
4. Close all three plots by clicking on the Windows X in the uppper
right corner.
5. Change nBlocks to 1, run the model. Two plots appear!
One plot should appear.

However, I only got two plots under Ptolemy II 6.0.2.
Under Ptolemy II 7.0.beta, I got one plot.

Can you try upgrading and tell me if you get different
results than what you were seeing before?

I looked at saving the model and indeed under Ptolemy II 6.0.2,
it looks like all instances are saved.  Undere 7.0.beta, this
is not the case.

One odd thing is that when I run the model a relation is created
in the upper left with no connections. When I save the model, the
relation is then connected.  This is a bug in the refresh of
vergil.  I created a bug for this:

https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=143


_Christopher

Christopher Brooks (cxh at eecs berkeley edu) University of California
Chess Executive Director US Mail: 337 Cory Hall #1774
Programmer/Analyst Chess/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718             (office: 400A Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480



--------

   Dear list,

Today I started experimenting with the MultiInstanceComposite actor.
   However, it does not seem to work properly. I created a small test
   model that can be downloaded from:
   http://www.scintilla.utwente.nl/~keesv/multiinstance.zip
   The first time the model is run the nBlocks parameter is set to 1,
   which results in one instance of the MultiInstanceComposite actor.
   The second time the model is run the nBlocks parameter is set to 3,
which results in three instances of the MultiInstanceComposite actor.
   This still works fine.
However, the third time the model is run the nBlocks parameter is set
   to 1, still three instances of the MultiInstanceComposite actor
   appear. This does not seem right.

   It seems that when the number of desired instances is decreased the
'old' instances are still there. Also, it appears as if all instances of the MultiInstanceComposite actor are saved in the xml file, which
   does not seem right.

   Is this a bug, or am I doing something wrong? What can be done to
   solve this?

   Kind regards,

   Kees Verhaar
   University of Twente, The Netherlands.

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


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

Reply via email to