HI Prof. Lee,

Revisiting Volume 1 Section 2.10.3, I believe I misinterpreted
something - I must have made it an I/O port manually. It makes
sense that only output ports should get automagically transformed
to input/output ports as per the discussion.

Now, upon increasing the MIC instances > 1, I'm having cloning
problems as it tries to "link a bus relation to a single port"
(.MIC.q_out and .MIC.relation3). I'm looking into that now. This
also seems to imply a need to take the N MIC output channels and
somehow preserve their ordering in a single queue outside the MIC.

This sounds like a good challenge, although it does get me wonder-
ing whether this approach actually fits my problem domain ;-)

Thanks for the info and the fix,
Chuck 

-----Original Message-----
From: Edward A. Lee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 03, 2006 9:18 PM
To: Lutz, Charles D
Cc: ptolemy-hackers@bennett.EECS.Berkeley.EDU
Subject: RE: Attempting to implement queue between states

At 12:45 PM 5/3/2006, Lutz, Charles D wrote:
>Hi folks,
>
>I've been working with this model some more; obviously I'm
>missing something basic as I expected the transition from the
>init state in the FSM to provide this first "domino". I added
>a SingleEvent to the top diagram and ran into another problem.
>
>I now get an error that "something" (identifier is missing in
>the report) "Does not have a DEDirector"; the first line refers
>to the queue_in port of the ModalModel.

I agree that the error message is not very helpful...
I've just checked in a change that improves the error message.

The problem here is that queue_in is both an input and
an output. DE does not support such ports (they in fact
are treated as causality loops).  Is there a reason that
you made queue_in be both an input and output?  If I
change it to just be an input, then the model runs.

Edward


------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal  


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to