I have spent a lot of time with this library stuff the last
two days and I am pretty confused. I use utilities composite actor on a sheet. I change
the name of composite actor to radar_if. I then open a new sheet and open
my model of radar_if, the guts of the radar_if composite model. I copy
what is in this sheet, look inside the composite actor radar_if, and paste what
was in the radar_if model into the inside of the composite actor radar_if. I
then close the sheet with the model of radar_if , close the sheet of the
composite actor radar_if. I now have a sheet with a compsite actor
radar_if, all the right ports and names, and additionally the composite actor
is in the userlibrary. So far so good. For good measure I save the
new composite actor as radar_ifcomposite. I then highlight the composite
actor and click “save actor to library”, it says the actor is already
in the library. The timestamp on userlibrary is usually within a minute
of all of this. I shut down Ptolemy, restart and the library I just made
is not visible, and if I load the library UserLibrary.xml in my directory
(C:\Documents and Settings\E223049\.ptolemyII) it is empty. It looks like
this: <entity name="UserLibrary"
class="ptolemy.moml.EntityLibrary"/ It is like the UserLibrary does not actually get written,
although some write happens because the timestamps are about right. What
is going on? Please help me with this. I guess I can just load my
composite actor separately. That is starting to look pretty good to me. Thanks, Tim |
- another question on libraries Reilly, Timothy (MN17)
- Re: another question on libraries Edward A. Lee