I am looking for help in replacing manual 10-way switch with MCU controlled schematic that will emulate those switches and resistor chain.
The third-party device is using constant current source to measure voltage on a connected resistance. Here is a circuit it is designed to work with.

simulate this circuit – Schematic created using CircuitLab
Using answers to the old question I've made first prototype with MOSFETs instead of switches. It worked flawlessly, but the isolation requirement made circuit too big for the space available on the board.
So I made another prototype with MCP45HV51 digital pots. It works, but in the given conditions the wiper's resistance is over 220 Ohm, which eliminates 6 bands out of 10.
Now I am thinking, what if use BJT in place of resistors and control it with OpAmp that makes sure the voltage at "sense" will be exactly the same as supplied by ADC. This way I can simply set ADC to the voltage they expect to see on the resistor for each band. Something like this:

Actual current source I1 is 5.32mA, so I think 0.18V to 1.8V from DAC should be equivalent to closing SW1 to SW10 of the original circuit.
My concerns are these:
- I have no idea if this would even work due to the lack of knowledge of analog circuits.
- The current source also needs a feedback to keep the current constant. I am worried that two feedbacks would oscillate without some dampening.
- I don't see how I can simulate fail-safe 330 Ohm resistor that is supposed to keep resistance at 670 Ohm when all switches are open. I can do it later by programming DAC, but not on power up. This is optional feature though.
UPDATE
I just received a suggested circuit from device manufacturer. Not sure if I understand it right, but I am not fond of the situation with full V2 going into 10 Ohm load.

UPDATE 2
Removed transistor following Simon's suggestions. Added fail-safe resistor.



