AD5242 used as varying resistor with LM317 to get analog voltage

I am trying to get analog voltage with AD5242 and LM317. I get both the ICs working seperately but when I use the resistor value I created with AD5242 on the LM317, it doesn't work as expected. I increase the resistor value step by step from 100R to 10K. At small resistor values (100R to 2K) the output voltage increases accordingly (about 1V to 6.8V). After that, I continue to increase the resistance but output voltage stucks at 6.8V. Sorry if it is a silly question. Sorry for my English and the goofy sketch. Any help will be much appreciated. 

Parents Reply Children
No Data