Electrocardiographic waveform measurement system