Your cardiac test , also known as an electrocardiogram or ECG, provides a record of your heart's electrical function while you're relaxed . This routine procedure involves attaching small sensors to your chest , arms, and feet. The ECG machine then records these electrical waves , allowing your healthcare provider to assess for any irregularities t