Monitor inputs by setting the <i>value</i> parameter equal
to each arriving token. This actor can be used with
an icon that displays the value of a parameter to get
on-screen display of values in a diagram. The value is
updated only in postfire.
<p>Note that the icon for this actor is defined in
<code>ptolemy/actor/lib/genericsinks.xml</code>, which looks something
like
<pre>
<entity name="MonitorValue" class="ptolemy.actor.lib.MonitorValue">
<doc>Monitor and display values</doc>
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="20"/>
<property name="_icon" class="ptolemy.vergil.icon.UpdatedValueIcon">
<property name="attributeName" value="value"/>
<property name="displayWidth" value="displayWidth"/>
</property>
</entity>
</pre>
Edward A. Lee
$Id: MonitorValue.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 10.0
Yellow (eal)
Red (bilung)
The most recently seen input value. This parameter has the same
type as the input.
The initial value to be displayed.