A resting electrocardiogram (ECG) is a common test that records the signals of your heart. It's performed when you are sitting or lying down. During the test, sticky electrodes get attached your chest, arms, and legs. These electrodes transmit signals into a monitor that produces a visual representation of your heart's rhythm. A resting ECG can h