I would like in switching power supplies controlled TopSwitchJX (flyback) replaced the error amplifier with an external reference.Suggest you consult as compensation network, gain, etc.?
Basically my point of replacement TL431, operational amplifier and a fixed reference point I used the DAC to control the output voltage of the source.