A resting electrocardiogram (ECG), also known as a 12-lead ECG, is a common test that measures the electrical activity of your myocardium. During this test, small leads are attached to your chest, arms and legs to monitor the regular impulses that regulate your heart's pumping. A resting ECG can assist doctors in identifying a variety of pathologi