Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have written some code that requests some calculations from an SQL server every N seconds and uses a palette:

CreatePalette[Dynamic[DateListPlot[...]]]

I create many copies of this notebook, each with different parameters, and launch as many independent kernels.

But there is a problem. Frist, I launch the 1st palette on kernel1. Next, I start a 2nd palette on kernel2, (Evaluation->Notebook Kernel), but when I do that, the first palette thinks that its kernel is kernel2.

How can I set the kernel for CreatePalette ?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Suppose you have configured kernels "Kernel1" and "Kernel2", then this just works:

CreatePalette[test, Evaluator -> "Kernel1"]

CreatePalette[test2, Evaluator -> "Kernel2"]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.