Thanks I went to the demos file and found some really good examples to look at. <br><br>Thanks alot <br>kian wee<br><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 12:40 AM, Christopher Brooks <span dir="ltr"><<a href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi kian wee,<br>
Adding a SampleDelay help, see attached.<br>
<br>
The way I figured this out was by looking at the DDF demos.<br>
In Kepler: Help -> Kepler Documentation -> Background
information on Ptolemy -> Quick Tour<br>
->Complete List of Demos -> DDF<br>
<br>
The inside of Eratosthenes.xml had a SampleDelay in a similar
situation.<br>
<br>
I also updated the ClassChanges filter in ptolemy.moml.filters so
that if certain org.kepler classes<br>
cannot be found, then the model will open anyway. This makes it
easier to open Kepler .xml files <br>
in Ptolemy, outside of Kepler.<br>
<br>
_Christopher<div class="im"><br>
<br>
Edward wrote:<br>
<blockquote type="cite">Counting iterations in DDF is challenging. I
suggest
<br>
reading the DDFDirector documentation. The reasons for
<br>
the complexity are described in this paper:
<br>
<br>
<a href="http://ptolemy.eecs.berkeley.edu/publications/papers/95/processNets/" target="_blank">http://ptolemy.eecs.berkeley.edu/publications/papers/95/processNets/</a>
<br>
<br>
Hope this helps.
<br>
<br>
Edward
</blockquote>
<br>
<br>
On 12/11/11 11:08 PM, kianwee chen wrote:
</div><blockquote type="cite"><div><div class="h5">I am having problem with the ddf director and the ramp
actor. I am trying to set up a " if - then" statement with kepler
workflow. However the ramp actor is not counting right ..... for
e.g. I set my DDF director iteration to 5, but the ramp count is
only up to 2 ..... Scratching my head on this. Attached is the
workflow file I working on. <br>
<br>
regards<br>
kian wee <br>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
Kepler-users mailing list
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: <a href="tel:510.643.9841" value="+15106439841" target="_blank">510.643.9841</a> (Office: 545Q Cory)
home: (F-Tu) <a href="tel:707.665.0131" value="+17076650131" target="_blank">707.665.0131</a> cell: <a href="tel:707.332.0670" value="+17073320670" target="_blank">707.332.0670</a> </pre>
</font></span></div>
</blockquote></div><br>