Hi Gang, Many thanks for the quick turnaround on this. This solves the problem that J.S. reported where a Modal Model that has just a straight through connection was not working. Professor Lee pointed out that the problem is that a composite actor that has a SDF Director, a straight through connection and no actors exhibited the same problem.
_Christopher -------- I checked in some code to support direct input and out connection. It works as follows: after the balance equation is solved, if any external port stil l has zero rate, then 1) if it is a dangling port (i.e., without any interna l connection), still keep zero rate, 2) if the zero rate is due to the rate propagation from an inside actor (i.e., connected to zero-rate port of the inside actor), still keep zero rate 3) otherwise, set the rate to be 1. I also fixed another problem in the SDFScheduler. It is the reason tunnelin g2.xml under \sdf\kernel\test\auto\knownFailedTests fails. In the original scheduler, to avoid infinite recursion of method calls, it is not propagatin g rate information between directly connected external input and output port s. I fixed that, I think. So I moved tunneling2.xml back into the normal te st directory. BTW, some multiport connection in tunneling2.xml is not rendering properly on my machine. Specifically, the two links to "typed composite actor0.port" overlap. Is it beause they are connected to the same relation, since other m ultiport connection are rendering correctly. Gang -------- ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]