DDESink
ptolemy.domains.dde.lib.DDESink

DDESink is simple DDE actor that consumes real tokens. This actor has a parameter named 'numTokens' that specifies the number of real tokens that this actor will consume. If numTokens is set to a negative value, then this actor will continue to consume tokens as long as they are available. If numTokens is set to a non-negative value 'k', then this actor will consume k tokens.

Author(s): John S. Davis II
Version:$Id: DDESink.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Red (davisj)
Pt.Accepted Rating:Red (cxh)


input
The input port.


numTokens
Indicate the integer valued number of real tokens that this actor should consume. If this value is negative, then there is no limit on the number of tokens that this actor will consume. The default value of this parameter is -1.