An electrocardiogram (ECG) can be a valuable tool in diagnosing the cause of an irregular heartbeat, or arrhythmia. You can learn more about ECG procedures in this informative article:
https://heartrhythmsfla1.com/blog/2013/05/20/ecg-listening-in-on-your-heart/