Hi Edward, Thanks for the reply - I would like a look at the document if that is ok.
I ended up inserting a python script actor after the ramp actor - this takes an input from the ramp actor and performs a modulus operation with the number of iterations for the director and this is output to give me a looping sequence eg. 0,1,2,3,0,1,2,3,0,1,2,3... cheers -----Original Message----- From: kepler-users-bounces at kepler-project.org [mailto:[email protected]] On Behalf Of Edward A. Lee Sent: Saturday, 10 October 2009 1:14 AM To: Peters, Chris (ICT Centre, Hobart) Cc: kepler-users at kepler-project.org Subject: Re: [kepler-users] RunCompositeActor - reset state for Ramp actor You could put it in a ModalModel with a reset transition. I have a draft document explaining modal models which I can send you if you like... Edward Chris.Peters at csiro.au wrote: > Hi, > > > > I'm running an SDF workflow that iterates via a LineReader Actor and > executes a sub-workflow (again SDF) via a RunCompositeActor which is > iterative via a Ramp actor. > > > > My problem is after the 1^st iteration of the main workflow the > sub-workflow ramp actor maintains state, rather than resetting with the > re-run of the sub-workflow. For example if the ramp actor counts 0,1,2 > on the 1^st iteration of the main workflow on the 2^nd it starts at 3 > rather than 0. > > > > Is there a way to reset the ramp actor or can you suggest another type > of actor to generate the sub-workflow iterations? > > > > thanks > > > > > > Chris Peters > > Software Engineer - Tasmanian ICT Centre > The Tasmanian ICT Centre is jointly funded by the Australian > Government through the Intelligent Island Program and CSIRO. > > The Intelligent Island Program is administered by the Tasmanian > Department of Economic Development and Tourism. > GPO Box 1538, Hobart, TAS 7001 > Castray Esplanade, Hobart, Tasmania > T: 03 6232 5432, F: 03 6232 5050, M: 0420340580 > > > www.ict.csiro.au <http://www.ict.csiro.au> > > www.csiro.au/science/TasICTCentre.html > <http://www.csiro.au/science/TasICTCentre.html> > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Kepler-users mailing list > Kepler-users at kepler-project.org > http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

