A resting electrocardiogram (ECG) is a common test that records the signals of your heart. It's performed when you are sitting or lying still. During the test, adhesive electrodes get attached your chest, arms, and legs. These electrodes send signals to a monitor that shows a visual graph of your heart's rhythm. A resting ECG can help your doctor