Virtual instruments for photovoltaic measurements