A hardware field simulator for photovoltaic materials applications.