Your heart exam , also known as an electrocardiogram or ECG, provides a view of your heart's electrical function while you're relaxed . This simple test involves attaching small pads to your upper body, arms, and feet. The ECG monitor then records these electrical patterns, allowing your physicia