I've just checked in a change to ptolemy.vergil.actor.ActorController
so that if a port contains a parameter named "_showInfo", then the
value of that parameter will be shown in Vergil next to the port.
If you want a string value, you can instatiate a StringParameter named
"_showInfo" in the port.
I can't figure out where in our docs such a capability should be
documented. Suggestions Christopher?
Edward
At 11:53 AM 12/14/2005 -0700, Michael J Wirthlin wrote:
I have created a custom TypedIOPort that has a fixed-point "Precision"
associated with it for modeling fixed-point systems. I would like to
display the Precision value in Virgil. Any suggestions on the best way to
render the Precision (or any other parameter of the port) within Virgil?
Ideally, I would like to have Virgil automatically display this when the
actor is first rendered. I have been unable to find an example to do this.
Any suggestions would be appreciated.
Thanks,
- Mike
--
Michael J. Wirthlin
Associate Professor
Electrical and Computer Engineering Voice: (801) 422-7601
Brigham Young University Fax: (801) 422-0201
459 Clyde Building Email: [EMAIL PROTECTED]
Provo, UT 84602 www.ee.byu.edu/faculty/wirthlin
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
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]