Hi Vincenzo,
Do you have a small test actor and sample model?

_Christopher

On 6/21/11 8:05 AM, Vincenzo Forchi wrote:
Hi Edward,

On 21/06/2011 16:53, Edward A. Lee wrote:
Something's fishy here.
Such a model should work fine in PN.
Note that hasToken() _alaways_ returns true in PN.
That's good to know, I completely missed that
The get() method blocks when there is no input.
Apparently in this case it doesn't, but why is the fire even triggered in the 
first place?

Looks like something is terminating the threads
using a TerminateProcessException. How is your model
supposed to be stopped?
When all the tokens have been consumed, which works for most of my actors with 
the PN and for all of them with the DDF.

Cheers,
Vincenzo


--
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
_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to