[kepler-dev] BinaryFileReader in PN workflows

Edward A. Lee eal at eecs.berkeley.edu
Fri Feb 17 08:45:19 PST 2006

Returning false from postfire() will stop execution of an actor
with any (correctly implemented) director.  This actor seems to be
designed to read only one file...


At 09:17 PM 2/16/2006, Tristan King wrote:
>It seems like the current implementation of the BinaryFileReader is
>unable to take in a sequence of inputs to allow it to read multiple
>I believe this is because the postfire() method returns false when it
>has reached the end of the file, which I think (i'm not sure exactly
>what happenes so please correct me if i'm wrong) tells the PN director
>to stop iterating the actor and thus preventing the next file in the
>sequence from being read.
>I'm not sure if this problem is isolated to PN directed workflows, but
>it's what i'm using so i thought i'd specify it.
>Tristan King                            | Ph: (07) 4781 6911
>DART project team                       | Email: Tristan.King at jcu.edu.au
>James Cook University                   | Web: http://dart.edu.au
>Townsville QLD 4814                     | http://plone.jcu.edu.au/dart/
>Australia                               |
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org

Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  

More information about the Kepler-dev mailing list