Your cardiovascular test , also known as an electrocardiogram or ECG, provides a snapshot of your heart's electrical function while you're at rest . This simple evaluation involves attaching small pads to your upper body, arms, and legs . The ECG machine then shows these electrical waves , allowing your healthcare provider to check for any problems