With the change of the human life style, heart disease has become one of the main diseases threatening human life and health. Promptly, accurately and completely achieving electrocardiogram (ECG) signal has vital significance for discovering and treating heart disease as soon as possible. However, the traditional professional electrocardiograph has complex structure, high price, and it is not suitable to carry on the popularization application. Therefore, this article proposes a new type of ECG signal sample and analysis system based on a personal computer, which realizes acquisition and analysis function through the LabVIEW programming. The research result shows that it has not only perfect function, convenient operation, easy to use, but also low price, and it is very suitable to universal application. So, it has very good practical value.