Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Another Monitor problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104762] Another Monitor problem
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Sun, 8 Nov 2009 07:27:02 -0500 (EST)

Hello,

is it possible to monitor the intermediate state of a calculation with
Monitor inside the action argument of a Button? The following Monitor
example without a Button works:

Monitor[Do[i, {i, 10^7}],  Refresh[Pause[0.03]; i, UpdateInterval ->
0.01]]

However, when the calculation is started by a Button only the final
result is displayed, the intermediate state of the calculation is not
monitored:

Button["Run",  Monitor[Do[i, {i, 10^7}],   Refresh[Pause[0.03]; i,
UpdateInterval -> 0.01]]]

Best regards,
Hannes Kessler


  • Prev by Date: Re: What is going on!?!
  • Next by Date: incompatibilities
  • Previous by thread: Re: Plot3d causes crash with radeon driver and Debian testing
  • Next by thread: Re: Another Monitor problem