Measuring voltage and current from PWM solar controller

Voltage is relative to battery(+).

But why do you want to know panel voltage. Generated solar power is more relevant, and that is the product of battery voltage and panel current. From that you can calculate panel voltage, but why.
Leo..