<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body 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<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 class="moz-txt-link-freetext"
href="http://ptolemy.eecs.berkeley.edu/publications/papers/95/processNets/">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:
    <blockquote
cite="mid:CAHwgn_w1Ch8_GJvY_cwctp5rYtfuzGDOtb4cMAiG5eZHaQa8EA@mail.gmail.com"
      type="cite">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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" 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: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
  </body>
</html>