An electro‐optical system is described for automatically measuring the spectral response of a photosensitive material or device and its output under an arbitrary light spectrum. The system has been used to obtain the spectral response and the short circuit current of solar cells in outer space sunlight. A comparison of the outer space short circuit current of n‐p silicon solar cells measured by this system and by a commercially available solar simulator shows an agreement of better than 2.1%.