[kepler-users] string constant actor and loop problem
Edward A. Lee
eal at eecs.berkeley.edu
Sun Jul 8 23:10:21 PDT 2007
Rather than having two actors (which can be confusing) wouldn't
it be better to simply augment StringConst (or better yet, its
base class, Const) with parameter firingCountLimit? Some actors
have this parameter... This could be used to limit the actor to
one firing.
Edward
At 08:18 AM 7/3/2007, Dan Higgins wrote:
>Hi,
> It is not clear to me from your description exactly what your
>problem is. One possibility may be related to the Director your workflow
>is using (PN or SDF) and the fact that there are two types of String
>Constant actors (one is called 'String Constant' and the other is
>'Permanent String Constant'). The one named 'Permanent String Constant'
>will repeatedly output a string, while the other only output a string
>once. You might try changing the one you are using. (Also, it might be
>useful in the future if you could include an example workflow with any
>questions).
>
>Dan Higgins
>NCEAS - UCSB
>
>[BE] Ufuk Utku Turuncoglu wrote:
>> Hi,
>>
>> I try to iterate a workflow which contains some string operations such
>> as string replace and accumulator. So, i need to input a string constant
>> to string accumulator actor. In this case the workflow is not
>> continue/iterate. When i delete the string constant actor the workflow
>> is working successfully. How can i iterate this kind of workflow? Is it
>> neccecary to add an extra actor that send dummy argument to trigger port
>> of the string constant actor?
>>
>> best regards,
>>
>> Ufuk Utku Turuncoglu
>> ITU, Informatics Institute
>> Computational Science and Engineering Programme
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at ecoinformatics.org
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
>>
>>
>
>_______________________________________________
>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://ptolemy.eecs.berkeley.edu/~eal
More information about the Kepler-users
mailing list