As the comment says, you can get a much better answer to this question if you give us some more information. One thing that's not clear is, are the signals your talking about actually meant to convey power to their receiver, or just control power that's already available there.
I'll assume these are just control signals.
I can think of two simple ways to accomplish what I think you want.
Simply sum the two signals. Because the digital signal has such a high magnitude, you'll have a signal between 0 and 10 V when the digital value is low, and between 24 and 34 V when the digital value is high. At the receiver, use a comparator with a 17 V threshold to extract the digital value, then subtract it off to recover the analog value. You will likely have some glitches in the recovered analog value whenever the digital value switches -- how you deal with those will depend on details of your requirements that you haven't shared.
Modulate one or the other of your two signals onto a high-frequency carrier. For example, use the digital signal to switch a (for example) 100 kHz sine wave onto your signal line. (I'm assuming your analog signal is only changing slowly. If your analog signal has high frequency content, then the details of how to do this will depend on what are the frequencies in the analog signal). At the receiver end, use a low-pass filter to extract the analog signal; and a high-pass filter and a rectifier to extract the digital signal.
Edit
Your edit helps quite a bit. It sounds like you can just use a switch like the ADG202A you mentioned, with no other op-amps or anything needed. Use the digital signal to control the switch. Route the analog signal through the switch to the machine under control. Use a pull-down resistor to pull the control voltage to 0 when the switch is opened. If you are worried that the analog voltage might be accidentally programmed below 0 and this could damage the machine, you could add a diode between the control pin and ground to prevent the control voltage dropping (much) below ground.
Some things you still need to explain to know if this will work: How much current can your programmable analog source generate? How much current is required at the control input of your machine?
** Edit 2 **
Here's a diagram of what it sounds like you want:
This will set the machine power to 0 when the digital signal is 0. If you want it the other way, you can use the ADG201A NC switch instead.
The ADG202A has a fairly high 60-Ohm on resistance. If the machine draws significant current at the control input you may need to locate a switch with lower on-resistance, or buffer the signal with an op-amp between the switch and the machine.
\$\operatorname{rect}(\cdot)\$ is a function that has value \$1\$ if whatever appears inside those parentheses (it's called the argument
of the rect function and
I used \$\cdot\$ instead of some algebraic variable as a place holder)
has value between
\$-\frac 12\$ and \$+\frac 12\$. Otherwise, when the argument is strictly
smaller than
\$-\frac 12\$ (or strictly larger than \$+\frac 12\$),
\$\operatorname{rect}(\cdot)\$ has value \$0\$. In your instance, you need to ask
For what values of \$\omega\$ does \$\displaystyle \frac{\omega - 10}{2\pi}\$ equal a number between \$-\frac 12\$ and \$\frac 12\$?
and a little thought will show, I hope, that \$\omega\$ must be in the interval
from \$10-\pi\$ to \$10 + \pi\$. If you have trouble deriving this, try and
find the value of \$\omega\$ that makes \$\displaystyle \frac{\omega - 10}{2\pi}\$
equal exactly \$-\frac 12\$ and then, lather, rinse and repeat for
exactly \$\frac 12\$.
Best Answer
To elaborate on Samuel's comment. When you sample a signal the spectrum of that signal will become periodic in the Nyquist frequency. To reconstruct the actual signal, you need to remove all of the frequencies that appear as artifacts of the sampling process. Ideally, this would require a brick-wall low pass filter. In the time domain, this corresponds to the procedure your lecturer mentioned with sinc functions, as sinc is the inverse fourier transform of the rect function.