[kepler-users] SDF Firing Order

Edward A. Lee eal at eecs.berkeley.edu
Thu Nov 15 14:35:46 PST 2007


SDF uses data precedences to determine firing order.
Looks to me like org.geon.FileWrite should be providing a PortParameter
rather than a parameter to specify the file name...

Edward


At 04:11 PM 11/14/2007, Kenneth Evans wrote:
>Hi,
> 
>In SDF if two actors have their input ports connected to a relation, what determines which fires first?  Since the order may be important, is there a way to insure the order you want.
> 
>In particular, the attached example, which uses a File Writer actor with the fileName determined by a workspace parameter that is set by the same relation that determines the File Writer input, does not work correctly because the parameter is set after the File Writer fires.
> 
>Maybe there is a better way to specify a variable fileName to a File Writer in the first place (in which case I would appreciate some guidance), but this is not the only workflow in which I am having a firing-order problem.
> 
>Thanks,
> 
>        -Ken
> 
>
>_______________________________________________
>Kepler-users mailing list
>Kepler-users at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users

------------ 
Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://www.eecs.berkeley.edu/Faculty/Homepages/lee.html  



More information about the Kepler-users mailing list