Questions on managing computation or tasks order. Synchronizing parallel procedures, dynamics objects and so on. It's meant to be a secondary tag to narrow the scope of question already tagged with parallel, dynamic, evaluation and similar tags.

learn more… | top users | synonyms

3
votes
1answer
94 views

Is it possible to update Dynamic objects even when they are off screen?

I am using Dynamic and DynamicModule to display graphics/statistics generated from a long-running set of parallel tasks. The ...
1
vote
2answers
66 views

How to show system busy during Dynamic with SynchronousUpdating -> False?

For long running evaluations in Dynamic it is recommended that SynchronousUpdating -> False be used to prevent time-out. ...
3
votes
2answers
97 views

How can I run a list of Tasks serially?

I have a list of ScheduledTask's to run in sequence one at a time. How can I set these to run in order so that the next one starts automatically after the previous one finishes?
4
votes
3answers
149 views

Best way to represent a complex time schedule?

What would be the best way to represent a complex schedule in Mathematica ? For example a representation of the plain words schedule: "From Monday to Friday, from 8 am to 12pm and from 1pm to 4pm", ...
1
vote
1answer
75 views

How to Reap data from a ScheduledTask?

Here is an amusing little function mapped over a range just to iterate it. It ignores its argument and works entirely by side-effecting a global variable: ...
13
votes
4answers
442 views

How to make a movie from a complex demonstration?

I have a complex Manipulate-based demonstration containing a few sliders and a Setterbar. I would like to make a movie out of it, avi, or whatever else. The ...
7
votes
1answer
107 views

Why can't I abort main evaluation from ScheduledTasks (Service Link)?

FrontEndExecute[FrontEndToken["EvaluatorAbort"]] is equivalent of the menu item: Evaluation >> Abort. It works with ...
2
votes
0answers
87 views

Simulating Dynamic Priority Queues [closed]

I have found several examples of static priority queue implementations: there are two classes of items, with the exponential interarrival times. The service times are also exponential. The first-class ...
7
votes
2answers
151 views

How to track Part of Symbol or How to symbolize Parts of Symbol without copying data

Let's create simple function: SetAttributes[h, HoldFirst]; h[data_] := Dynamic[Grid[data], TrackedSymbols :> {data}] test = RandomReal[1, {2, 2}]; h[test] ...
9
votes
1answer
150 views

Tracking Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
6
votes
2answers
114 views

Showing “updating…” message while Manipulate is re-evaluating

Is it possible to show a fixed text such as "updating..." instead of the last result shown, when Manipulate is re-evaluating an expression (in a slow evaluation ...
6
votes
0answers
169 views

Does a running evaluation continue after the PC wakes from sleep mode?

Are there any issues with running a process on Mathematica, putting the computer to sleep, and then waking the computer sometime later? It seems to work just fine on my test process (appending data ...
9
votes
1answer
184 views

How to save the result in the Notebook (.nb) and shut down the computer when the calculation is done

I have a notebook(.nb) which its calculation is time-consuming and long. I can not observe it if the calculation is done or not. Therefore, I want to : Save the results in the notebook(.nb) ( I do ...
4
votes
2answers
283 views

Keep kernel running for execution of scheduled task

How can I keep a kernel running until all scheduled tasks have completed? For example upon running the following script bazinga.m: ...
3
votes
1answer
132 views

How to simulate the 1-D motion of a particle under constant acceleration? [duplicate]

I am trying to represent the position of an object under freefall, but am completely lost. Here is my attempt so far: ...
2
votes
2answers
147 views

Time delayed evaluation of a function

I'd like to write a function that delays the evaluation of a function (say) $5$ seconds after I hit Shift+Return. Is this possible?
3
votes
1answer
170 views

Dynamic inside Button

This bit of code runs a little animation of a stochastic process: ...
0
votes
1answer
108 views

Is there a way to use pause in Manipulate?

Is there a way to do any similar to Do[Print["Iteration...", j]; Pause[1], {j, 1, 6}] with Manipulate? (to show the ...
5
votes
1answer
253 views

Wait / sleep miliseconds

Is there any way to make Mathematica stop for some miliseconds? I know about the Pause[] but it seems it only works with seconds.
2
votes
1answer
269 views

Dynamic [ NotebookEvaluate [“_”] ]

A nice way to centralize various tasks in one notebook is the NotebookEvaluation function. For instance I can evaluate ten notebooks from a single notebook (e.g. ...