Using LabVIEW programming and highspeed multifunction data acquisition card PCI6251, we designed an electrocardiogram (ECG) signal generator based on Chinese typical ECG database. When the ECG signals are given off by the generator, the generator can also display the ECG information annotations at the same time, including waveform data and diagnostic results. It could be a useful assisting tool of ECG automatic diagnose instruments.