[kepler-users] pn director
Jianwu Wang
jianwu at sdsc.edu
Fri May 22 09:19:30 PDT 2009
Hi Chris:
I met the similar behavior. I was using ArrayToSequence Actor which
sends a sequence items of an array to output. Which actor are you using?
Daniel Crawl and I did a study on this behavior, and think it is
because of AbstractReiver class provided by Ptolemy.
With Edward, Christopher and Sean's help, AbstractReiver has been
updated at Ptolemy version 53676. So please make a update of Ptolemy and
try it again.
Best wishes
Sincerely yours
Jianwu Wang
jianwu at sdsc.edu
http://users.sdsc.edu/~jianwu/
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A.
Chris Weed wrote:
> Hi,
> I am getting unexpected behavior from the PN director,
> but maybe this is just my misunderstanding.
>
> I have an actor that sends an array of tokens to its output,
> and the output is connected to a diamond which feeds two
> parallel channels. The two channels have an actor that reads
> the tokens one at a time and then sends them to a display.
> The behavior I have that
> is unexpected is that one channel will consume and display
> all of the tokens, and then the other channel consumes and
> displays all of the tokens. I would expect it to switch back
> and forth between the channels displaying one token at a time.
>
> I also noticed I get the behavior of switching back and
> forth between the displays when I change my first
> actor to send the tokens individually instead of in an
> array.
>
> Chris
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
More information about the Kepler-users
mailing list