[kepler-dev] BinaryFileReader in PN workflows

Efrat Frank efrat at sdsc.edu
Fri Feb 17 11:38:49 PST 2006


Hi Tristan,

I checked in an updated version of the actor enabling to stream multiple 
files. The main problem with using this actor with multiple files is 
that there is no distinction between output streams sent from different 
files, so you will need to follow it using the endOfFile port.

- Efrat

Edward A. Lee wrote:

>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...
>
>Edward
>
>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
>>files.
>>
>>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.
>>
>>Thanks
>>--Tristan
>>
>>--
>>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
>>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>    
>>
>
>------------
>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  
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20060217/bf028f55/attachment.htm


More information about the Kepler-dev mailing list