Diode is a special kind of non-silicon structure, which needs electrical forming to store the charge inside structure. Forming is done by applying series of impulses by DAC. After forming I-V characteristic must be measured. It is done by forming ramp voltage and two channel ADC - high side for V, using Kelvin probe, low side in I-V converter.