Until now, no effective method to measure CCD photoelectric parameters. To solve the problem, a novel measurement method that combines hardware with software is proposed, and it can let hardware and software collaborate with each other to finish assignment together. Firstly, the ideal relation between output voltage and input exposure quantity of CCD is given. Secondly, some main photoelectric parameters of CCD are elaborated. Then based on the principle, test system of CCD photoelectric parameters that combines hardware with software is designed. Lastly, the real relation between output voltage and input exposure quantity of CCD is given, and the test results of experiment of each photoelectric parameter are obtained according to the relation. What’s more, analysis and comparison of the results of the experiment are given in this paper. The method is reliable and the precision is high in the experiment.