Your cardiac test , also known as an electrocardiogram or ECG, provides a view of your cardiac electrical activity while you're relaxed . This standard evaluation involves placing small sensors to your upper body, arms, and legs . The ECG machine then displays these electrical signals , allowing your doctor to evaluate for any abnormalities that mi