A resting electrocardiogram (ECG), also referred to as a 12-lead ECG, is a frequently performed test that measures the electrical activity of your myocardium. During this examination, small leads are affixed to your chest, arms and legs to record the regular impulses that control your heart's contraction. A resting ECG can assist doctors in detect