An electrocardiogram at rest
A resting electrocardiogram is a painless procedure that measures the electrical activity of your heart. During a resting ECG, electrodes are affixed to your chest, arms, and legs. These electrodes capture information about your heart's electrical activity to an electrocardiograph machine. The machine produces a visual representation of your heartb