Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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
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


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.