Hi Wombat - thanks for the reply. The problem I have is this: I wrote a small TCL script like so:
namespace eval dashboard_example {
set dash [add_service dashboard dashboard_example "Dashboard Example" "Tools/Example"]
dashboard_set_property $dash self developmentMode true
dashboard_set_property $dash self visible true
dashboard_add $dash time0 timeChart self
dashboard_set_property $dash time0 maximumItemCount 10
for {set x 0} {$x < 10} {incr x} {
set y [expr $x % 8]
dashboard_set_property $dash time0 latest $y
after 1000
}
}
I can run this once, and that first time I run it, it runs properly (you can see it updates 10 times) and looks great. if I run it again, nothing happens for a while, and then the GUI screen updates to the final appearance of the time chart after script completion.
If you run it the 2nd time, you'll get the error
WARNING: Overwriting /desktop/dashboard_example
SEVERE: Cannot register content with passed id. An already registered dockable exists. [id : Dashboard Example]
But I get this error with ANY script like this that I run (one that generates dials, tables, etc), and they all run correctly multiple times.
If I add a close_service command at the end of the script, I get
INFO: The dashboard service does not require or support closing. Close is not performed.
Based on these 2 behaviors, Altera Support (10823966) concluded that "you cannot rerun the script without exiting the system-console".
I pushed back (answer sounds lame), but it's currently an issue, whether intended or not.
HTH - if you have any ideas I'd love to hear them
thanks!
/j