Here's an example that gives two 12-bit analog voltages using a DAC.
A Virtual Terminal is used to set the voltages.

http://support.melabs.com/threads/28...replaces-pots)