Your cardiac exam , also known as an electrocardiogram or ECG, provides a record of your heart’s electrical activity while you're calm. This standard test involves attaching small sensors to your chest , arms, and legs . The ECG machine then shows these electrical signals , allowing your doctor to check for any problems that might suggest an poss