Re: (is there) anyway to tell that Dynamic is running?
- To: mathgroup at smc.vnet.net
- Subject: [mg107973] Re: [mg107937] (is there) anyway to tell that Dynamic is running?
- From: John Fultz <jfultz at wolfram.com>
- Date: Thu, 4 Mar 2010 05:28:24 -0500 (EST)
- Reply-to: jfultz at wolfram.com
You should the ChoiceDialog thread I contributed to earlier in the week. This message contains pretty much all of the relevant stuff in the thread... http://forums.wolfram.com/mathgroup/archive/2010/Mar/msg00021.html In addition to that message, I'll say... * Dynamics do not generally "run in the front end", except in some very trivial cases. They may however, block the front end, if they're synchronous. * No, there's generally no indication that it's an evaluation. In many cases, such an indication would be undesirable and annoying. * Better recovery from badly performing Dynamics is certainly something we're still working on. But as I mention in the other email, every Dynamic is wrapped in TimeConstrained, and you can control the value of that TimeConstrained...even on a per-Dynamic basis if necessary, by doing something like... Style[Dynamic[...], DynamicEvaluationTimeout->2] Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Wed, 3 Mar 2010 05:52:02 -0500 (EST), divisor wrote: > Hello mathGroup: > > I am trying to understand Dynamic[] better by customizing some of the > examples in the VirtualBook chapter about this. Specifically, I read > that Dynamic[] runs in the front-end. > > Sometimes (partcularly when I have a bug,) the system appears to be > hung. When I run a regular command, it shows "Running.." in the window > title, so if it is taking too long, I can kill it (Alt-.). > > But when Dynamic is running there does not seem to be any visual > indication. Is there a way for me to tell this as a user (so I can > take some action)? And if there is, do I need to kill all of Mathematica > if > something I have given to Dynamic[] is hung? > > TIA. > > Roger Williams > Franklin Laboratory