In general, the photodiode can be used in one-of-two modes: photovoltaic or photoconductive. In photovoltaic mode, the photodiode creates a small voltage like a solar cell that you can measure with a DAC (or DMM) across a resistor. In the other mode, the diode is reverse biased and a small...